aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/fstools
Commit message (Collapse)AuthorAgeFilesLines
* fstools: update to the latest master branchRafał Miłecki2019-01-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a big block(d) cleanup with new feature of generating "mount" hotplug.d events. It's an important update for those who were using mountd in the pre-18.06 releases. Due to the mountd being replaced with blockd a support for "mountd" hotplug.d events has been lost. It broke all kind of shell scripts that were e.g. managing services depending on an external USB drive availability. This basically (re-)adds support for calling /etc/hotplug.d/mount/ scripts with ACTION ("add" or "remove") and DEVICE set. af93f4b block(d): improve hotplug.d "mount" events for the autofs 3bb3352 blockd: unmount device explicitly when it disappears 28753b3 block: remove target directory after unmounting c8c7ca5 block: cleanup handling "start" action of the "autofs" command f1bb762 block: make blockd_notify() return an int instead of void 71c2bde block: generate hotplug.d mount events 30f5096 block: validate amount of arguments for the "autofs" command dc6a462 blockd: don't reparse blob msg in the vlist callbacks f6a9686 blockd: don't unmount device when removing it from the list 1913fea block: don't duplicate unmounting code in the mount_action() 6b445fa block: make umount_device() function more generic a778468 block: don't duplicate mounting code in the mount_device() 5dc631d block: simplify code picking mount target directory 2971779 block: move blockd_notify() call out of the conditional blocks b86bd6e block: fix formatting & indent in the mount_device() e12c0d6 fstools: use EXIT_FAILURE when indicating error on exit 091aa3d fstools: guard usage of WEXITSTATUS Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit 5c4277ec376541b10f1acbea734aa29900eb5722)
* fstools: update to git HEADHans Dedecker2019-01-101-3/+3
| | | | | | | 29e53af fstools: add ntfs support Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> (cherry picked from commit 59db98d0f216b2de1472bcde0d87ae871625052c)
* fstools: filter unknown action in mount.hotplug scriptRosy Song2019-01-102-2/+2
| | | | | Signed-off-by: Rosy Song <rosysong@rosinson.com> (cherry picked from commit 0fa1dd71ccf5456e1a55dd492e9a42d9b71185ba)
* fstools: Install mount.hotplug and 10-fstab.defaults as 600Rosen Penev2019-01-101-3/+3
| | | | | | | | | Both of these are used by programs that run as root and nothing else. Signed-off-by: Rosen Penev <rosenp@gmail.com> [rmilecki: dropped PKG_SOURCE_URL regression from the original patch] Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit 4ad87744fa83e2f75fd4f6e9a46f106aaf7ee2dc)
* fstools: Add the new options available in the menuconfigPierre Lebleu2018-12-181-0/+16
| | | | | | | | | Mounting using the zlib compression and mounting with full access accounting are now available in the menuconfig. Signed-off-by: Pierre Lebleu <pme.lebleu@gmail.com> (backported from e6b8ce4c081b0bdfbbd20477ecef18b285481b07)
* fstools: update to latest git HEADHans Dedecker2018-12-181-3/+3
| | | | | | | | dd02dad fstools: allow the mounting with full access time accounting 242248c fstools: allow to compress the filesystem Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> (backported from 5df2597c59879029059d09c426dbf10e06c80306)
* fstools: update to latest master branchRafał Miłecki2018-04-161-3/+3
| | | | | | | | e243683 libfstools: move mount points when switching to JFFS2 3782b59 libfstools: add "const" to char pointer arguments in mount_move() 79721f0 libfstools: fix foreachdir() to pass dir with a trailing slash Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* fstools: update to latest git HEADJohn Crispin2018-02-111-3/+3
| | | | | | | | 3d23981 strip trailing spaces from vfat labels c4a3c97 fix vfat volume label 5010710 block: support /dev/nvme* nodes Signed-off-by: John Crispin <john@phrozen.org>
* fstools: update to latest git HEADJohn Crispin2018-01-131-3/+3
| | | | | | | | 18090d9 overlay: fix compilation with glibc 2a9a6ea libfstools: optimize building directory string for glob de6b026 libfstools: support file paths longer than 255 chars Signed-off-by: John Crispin <john@phrozen.org>
* treewide: replace LEDE_GIT with PROJECT_GITJo-Philipp Wich2018-01-101-1/+1
| | | | | | | Remove LEDE_GIT references in favor to the new name-agnostic PROJECT_GIT variable. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* Revert "fstools: update to latest git HEAD"Jo-Philipp Wich2018-01-071-2/+2
| | | | | | | | This reverts commit df326e9b2e71a2c639371ef8acec0ac98bc36122. The referenced commit does not exist in the upstream repository. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* fstools: update to latest git HEADJohn Crispin2018-01-071-2/+2
| | | | | | | 2a9a6ea libfstools: optimize building directory string for glob de6b026 libfstools: support file paths longer than 255 chars Signed-off-by: John Crispin <john@phrozen.org>
* fstools: update to latest git HEADJohn Crispin2018-01-021-3/+3
| | | | | | | | | 11efbf3 overlay: fix race condition when switching to jffs2 bdeb95a libblkid-tiny: add support for NTFS superblock ef2cc03 fstools: Replace strerror(errno) with %m format. 98fd5b4 libblkid-tiny: add support for UBI superblock Signed-off-by: John Crispin <john@phrozen.org>
* fstools: update to latest git HEADJohn Crispin2017-07-311-3/+3
| | | | | | 8ab4fda fstools: add btrfs support Signed-off-by: John Crispin <john@phrozen.org>
* fstools: update to latestDaniel Golle2017-07-161-4/+4
| | | | | | | 0dfe61a block: support /dev/xvd* nodes f038a61 libfstools: fix matching device name Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* fstools: snapshot: handle jffs2 conversion using upgradedMatthias Schiffer2017-05-292-7/+9
| | | | | | | We can reuse the kill_remaining and run_ramfs facilities of the stage2 run by upgraded. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* fstools: clean up trailing whitespace in snapshot scriptMatthias Schiffer2017-05-291-1/+1
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* fstools: update to the latest versionFelix Fietkau2017-05-221-3/+3
| | | | | | | | | 88d48d5 libfstools: silence mkfs.{ext4,f2fs} a19f2b3 build: disable the format-truncation warning error to fix gcc 7 build errors 633a8d0 libfstools: fix multiple volume_identify usages with the same volume c43ae11 fstools: use -Wno-format-truncation instead of -Wno-error=format-truncation Signed-off-by: Felix Fietkau <nbd@nbd.name>
* fstools: update to latest git HEADJohn Crispin2017-03-291-3/+3
| | | | | | | 20c16fc cmake: Make blockd link against libjson-c 92b4c2c libfstools: add basic documentation of mount functions Signed-off-by: John Crispin <john@phrozen.org>
* fstools: add blockdJohn Crispin2017-03-062-3/+38
| | | | | | this daemon replaces mountd. Signed-off-by: John Crispin <john@phrozen.org>
* fstools: update to the latest versionFelix Fietkau2017-02-111-3/+3
| | | | | | Fixes compatibility issues with glibc 2.25 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* fstools: Update to 2016-12-04Florian Fainelli2017-01-021-3/+3
| | | | | | | Brings in the following changes: 84b530a732b1 libfstools: Check return values for fread and system Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* treewide: clean up and unify PKG_VERSION for git based downloadsFelix Fietkau2016-12-221-6/+3
| | | | | | Also use default defintions for PKG_SOURCE_SUBDIR, PKG_SOURCE Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: clean up download hashesFelix Fietkau2016-12-161-1/+1
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* fstools: add build-depends on util-linuxJo-Philipp Wich2016-11-011-0/+1
| | | | | | | The libblkid probe support in fstools git head requires blkid/blkid.h for compilation, so add a build dependency on util-linux which provides libblkid. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* fstools: update to latest git HEADJohn Crispin2016-10-311-3/+3
| | | | | | adds f2fs support Signed-off-by: John Crispin <john@phrozen.org>
* source: Switch to xz for packages and tools where possibleDaniel Engberg2016-10-061-1/+2
| | | | | | | | | | | * Change git packages to xz * Update mirror checksums in packages where they are used * Change a few source tarballs to xz if available upstream * Remove unused lines in packages we're touching, requested by jow- and blogic * We're relying more on xz-utils so add official mirror as primary source, master site as secondary. * Add SHA256 checksums to multiple git tarball packages Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* fstools: mark as nonshared and add missing PKG_CONFIG_DEPENDSMatthias Schiffer2016-09-251-0/+3
| | | | | | | The fstools build depends on the CONFIG_NAND_SUPPORT flag, which is target-specific. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* fstools: update to the latest version, adds support for ext4/f2fs overlay ↵Felix Fietkau2016-09-101-2/+2
| | | | | | via loopback device Signed-off-by: Felix Fietkau <nbd@nbd.name>
* fstools: fix logic bug in extroot verification codeJohn Crispin2016-09-051-2/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* fstools: update to latest HEADDaniel Golle2016-07-271-2/+2
| | | | | | | | Fixes duplicate ubiblock entries being listed and improves find_mount_point to also match against a block device's major:minor numbers (needed e.g. for /dev/root). Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* fstools: update to latest git HEADJohn Crispin2016-07-021-2/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* fstools: fix missing dependencyJohn Crispin2016-06-181-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* fstools: split snapshot-tool into its own packageJohn Crispin2016-06-131-2/+16
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* fstools: remove bogus warning in the fstab scriptJohn Crispin2016-06-131-4/+6
| | | | | | | | | | | | | /etc/init.d/fstab had some warnings in it to let users know that they should call "block mount" directly. these ended up in the bootlog. fix this by splitting the code into boot() and start(). this way the system will boot without warning but manually starting the script will lead to the message. fixes FS#3 Reported-by: Hannu Nyman <hannu.nyman@iki.fi> Signed-off-by: John Crispin <john@phrozen.org>
* package/*: update git urls for project reposJohn Crispin2016-06-131-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* fstools: update to latest git versionJohn Crispin2016-05-231-2/+2
| | | | | | | * adds support for ACL mount flags * adds vfat fsck support Signed-off-by: John Crispin <john@phrozen.org>
* fstools: update to latest git HEADJohn Crispin2016-05-151-2/+2
| | | | | | | | the recent fixes to make mount_root work during failsafe caused lots of unwanted side effects. use the new preinit sentinel file to detect if we are in preinit. this will also work if logged in via ssh. Signed-off-by: John Crispin <john@phrozen.org>
* global: change my email addressJohn Crispin2016-05-121-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* fstools: update to latest git revisionJohn Crispin2016-05-111-2/+2
| | | | | | This fixes mount_root in failsafe and reverts a ext4 overlay patch. Signed-off-by: John Crispin <john@phrozen.org>
* fstools: fix snapshot supportJohn Crispin2016-04-291-4/+4
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* fstools: update to latest git HEADJohn Crispin2016-04-291-2/+2
| | | | | | fixes snapshot support Signed-off-by: John Crispin <john@phrozen.org>
* fstools: update to latest git HEADJohn Crispin2016-04-291-2/+2
| | | | | | this adds the remount command to the block tool Signed-off-by: John Crispin <john@phrozen.org>
* fstools: respect mount flags for /overlay mountsJo-Philipp Wich2016-04-251-2/+2
| | | | | | | | | Respect user configured mount flags such as "ro" or "sync" when processing external overlay mount points. Signed-off-by: Jo-Philipp Wich <jo@mein.io> SVN-Revision: 49223
* fstools: fix off-by-one error in the version numberFelix Fietkau2016-01-101-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48193
* fstools: update to the latest version, fixes filesystem state rewrite on ↵Felix Fietkau2016-01-101-2/+2
| | | | | | | | every boot Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48191
* fstools: move to git.openwrt.orgFelix Fietkau2016-01-041-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48123
* fstools: update to latest git HEADJohn Crispin2015-12-231-2/+2
| | | | | | | | adds stacked ram overlays. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48001
* fstools: update fstools to version 2015-11-22Hauke Mehrtens2015-11-221-3/+2
| | | | | | | | | This version fixes a potential uncontrolled format string problem. This makes it possible to activate the format security check. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47598
* fstools: update to latest git HEADJohn Crispin2015-11-021-2/+2
| | | | | | | | update libblkid code and add support for F2SF Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47353