[Bug 935480] Re: mkdosfs refuses to run on /dev/loop0p1
Phillip Susi
psusi at ubuntu.com
Tue Feb 19 02:19:55 UTC 2013
Yea, that's pretty much what I came up with before the new year and I
sent it off to the maintainer, but never got a reply.
I don't think this kind of safety check and prompt is unix like in
character. It isn't the job of tools to second guess the admin and try
to stop you from shooting yourself in the foot. This is why rm -rf /
doesn't stop and warn you, even though doing this is monumentally
stupid, and why none of the other mkfs tools try to do this.
Usually tools that try to do this sort of thing at least have the good
sense to first check if stdin is connected to a tty, and skip the prompt
if it isn't.
--
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