Skip to content

About

Utility to work bypass of some mountpoint

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bypassmount

Contents

  1. Motivation

  2. Usage

  3. Support

  4. Motivation


This utility was been written to make "du" bypass mountpoint to be able to compare used space values of "du" and "df".

However you can use "unshare" and "umount" combination instead of this utility. So the "bypassmount" may be useful for:

  • bypassing broken mountpoints (it doesn't do "stat()" and a lot of other garbage before the "umount2()");
  • bypassing mountpoints in one-line shell scripts.
  1. Usage

You can run shell with bypassing the mountpoint with

bypassmount /path/to/the/mountpoint

Or you can run some command with bypassing the mountpoint, for example:

bypassmount -q /mnt/backup -- du --depth 1 -s /mnt/backup/
  1. Support

To get support, you can contact with me this ways:

About

Utility to work bypass of some mountpoint

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages