[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: mkfs.xfs Fails
From: Nathan Scott [mailto:nathans@sgi.com]
+---------------------------------------------------------------------------
| > Anyway, I ran mkfs.ext2 and mkfs.reiserfs and they both formatted it
fine.
| > Just that mkfs.xfs -f /dev/hdb2 thinks it's busy or in use.
|
| That's very odd -- can you run "strace mkfs.xfs -f /dev/hdb2" and
| send the output? That will tell us where to start looking in mkfs.
+---------------------------------------------------------------------------
In one occasion, my program puts back the original /etc/mtab and that
happens to have /dev/hdb2 mounted. mkfs.xfs is nice enough to verify that I
shouldn't be formatting a mounted partition. I gdb'ed it and it was
obvious. Duhh!
Thanks guys,
Quang
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________