Package: aufs-tools
Version: 0+20080719-4
Severity: important

Is there a specific reason why the aufs mount script is provided
under /usr/sbin instead of /sbin?

Quoting util-linux-2.13.1.1/mount/mount.c:

[...]
  if (type && strlen(type) < 100) {
       sprintf(mountprog, "/sbin/mount.%s", type);
       if (stat(mountprog, &statbuf) == 0) {
[...]

- so there's a different behaviour between installing
the mount script of aufs as /usr/sbin/mount.aufs vs.
/sbin/mount.aufs.

,---- [ man aufs ]
| If you dislike the difference between the aufs entries in /etc/mtab
| and /proc/mounts, and if you are using mount(8) in util−linux
| package, then try ./mount.aufs script.
`----

You can verify the different behaviour on your own running the usage
example from the manpage:

,---- [ man aufs ]
| # mount -v -t aufs br:/day0:/base none /u
| none on /u type aufs (rw,xino=/day0/.aufs.xino,br:/day0=rw:/base=ro)
| # mount -v -o remount,\
|      prepend:/day1,\
|      xino=/day1/xino,\
|      mod:/day0=ro,\
|      del:/day0 \
|      /u
| none on /u type aufs (rw,xino=/day1/xino,br:/day1=rw:/base=ro)
`----

Credits for bringing up the issue to Tong Sun.

regards,
-mika-



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to