| < lsmounts Documentation | Russ Allbery > Software > lsmounts |
Safe recursion (-r) was missing any mount points contained directly in the directories given on the command line, and was instead skipping past them and recursing into them. That wasn't the intended behavior. It now recurses only into the directories given on the command line, and checks their immediate contents.
Lines changed: +3 -8
Better fix for the last problem. When filling out the initial search list, don't include . or .. on it.
Lines changed: +2 -3
Don't recurse into the parent directory.
Lines changed: +2 -1
Don't ever recurse into backup volumes. Don't ever register backup or read-only volumes. Move the full recursive option to -R and add a separate recursion option, -r, which only recurses through regular directory structures but doesn't cross mount points.
Lines changed: +39 -14
Add the copyright to the top of the script as well.
Lines changed: +4 -1
Make the web page link a real link.
Lines changed: +2 -2
Fix the documentation of the -v option.
Lines changed: +2 -2
Update for my current coding style. Reformat a little and use a more reliable and safer lsmount invocation. Add a flag to run loadmtpt for every mount point found. Add a license to the documentation and a reference to the URL where this program will be available from.
Lines changed: +92 -27
Add a -q flag to not print out the status message after every 1000 volumes and update some of the documentation standards.
Lines changed: +26 -20
Extensive modifications, merging with lsmounts-R and adding a new report format for humans that contains the name of the mount point (keeping the old behavior as a -l option). Added documentation and options parsing.
Lines changed: +172 -16
Fixed typo.
Lines changed: +1 -1
Modified to take a directory as a command-line argument, defaulting to the current directory if no argument is given. Added a comment header.
Lines changed: +6 -1
Initial import of script Neil uses to list volumes which have mountpoints in a directory.
| < lsmounts Documentation | Russ Allbery > Software > lsmounts |