On Wed, Jan 11, 2017 at 10:20:17AM -0800, patrick keshishian wrote:
> does
> 
> # umount /dev/vnd1a
> 
> not do the trick?

No.

I have written a test to create the problem.

# cd /usr/src/regress/sys/kern/mount
# make
...
# mount
/dev/sd0a on / type ffs (local)
/dev/vnd0b on /mnt/b type ffs (local)
/dev/vnd0d on /mnt/d type ffs (local)
/dev/vnd0e on /mnt/d/e type ffs (local)
/dev/vnd0f on /mnt/d/e/f type ffs (local)
/dev/vnd0g on /mnt/d/e/f/g type ffs (local)
/dev/vnd0h on /mnt/d/e/f/g/h type ffs (local)
/dev/vnd0i on /mnt/d/e/f/g/h/i type ffs (local)
/dev/vnd0j on /mnt/d/e/f/g/h/i/j type ffs (local)
/dev/vnd0k on /mnt/d/e/f/g/h/i/j/k type ffs (local)
/dev/vnd0l on /mnt/d/e/f/g/h/i/j/k/l type ffs (local)
/dev/vnd0m on /mnt/d/e/f/g/h/i/j/k/l/m type ffs (local)
/dev/vnd0n on /mnt/d/e/f/g/h/i/j/k/l/m/n type ffs (local)
/dev/vnd0o on /mnt/d/e/f/g/h/i/j/k/l/m/n/o type ffs (local)
/dev/vnd0p on /mnt/d/e/f/g/h/i/j/k/l/m/n/o/p type ffs (local)

Depening in wether /mnt/? exists you get:

# umount /dev/vnd0b
umount: /mnt/b: Invalid argument

# umount /dev/vnd0d
umount: /mnt/d: No such file or directory

bluhm

Reply via email to