[Bug 935480] Re: mkdosfs refuses to run on /dev/loop0p1
Jan Claeys
ubuntu at janc.be
Wed Feb 20 18:51:12 UTC 2013
Actually, on modern unix systems "rm -rf /" will refuse to delete
anything (unless you add a special option, like " --no-preserve-root" in
GNU rm).
This follows POSIX.1-2008/SUSv4[1]:
| The rm utility shall remove the directory entry specified by each file argument.
|
| If [...] or if an operand resolves to the root directory, rm shall write a diagnostic
| message to standard error and do nothing more with such operands.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/rm.html
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dosfstools in Ubuntu.
https://bugs.launchpad.net/bugs/935480
Title:
mkdosfs refuses to run on /dev/loop0p1
Status in “dosfstools” package in Ubuntu:
Confirmed
Bug description:
psusi at faldara:~$ sudo mkdosfs /dev/loop0p1
mkdosfs 3.0.9 (31 Jan 2010)
mkdosfs: Device partition expected, not making filesystem on entire device '/dev/loop0p1' (use -I to override)
Obviously this is wrong since loop0p1 IS a partition. Oddly, it does
not complain on loop0p2.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dosfstools/+bug/935480/+subscriptions
More information about the foundations-bugs
mailing list