[mdlug] Multiple partitions in usbdisk[was]mpeg files from MythTV play w/o audio in PS3
Robert Meier
list1c30fe42 at bellsouth.net
Wed Sep 17 22:12:37 EDT 2008
Stan,
> mkfs -t vfat /dev/sdb1
> But I still see this usbdisk showing up as two drives (two icons on KDE
> desktop). What exactly is in this drive which is causing this?
What do you see when you try the following?
bash> for p in 0 1 2 3 4 5 6 7 8 9; do df /dev/sdb$p; done
If the drive has more than one accessible partition,
you will see more than one Used/Available report among numbers 1-4
(depending on your bios).
Since it is KDE, you should find two files ~/Desktop/*.desktop that
correspond to the two icons.
What are the contents of these files (excluding Name and Comment)?
(Replace sdb? with the names you find on your host.)
bash> grep -v Name ~/Desktop/sdb?.desktop | grep -v Comment
Are they two pointers to the same partition rather than pointers to
two different partitions?
Such can result from overzealous automounters.
You may want to use
bash> mkfs -t vfat /dev/sdb0
Unlike the hd driver, which refers to the whole drive by dropping the numeric
suffix, the sd driver uses suffix-0 to refer to the whole drive.
See sd(4) and hd(4) for details.
Hopefully helpful,
--
Bob
"Never try and teach a pig to sing.
It wastes your time, and annoys the pig."
-- Abraham Lincoln
"Touch a scientist and you touch a child."
-- Ray Bradbury
"I am not the only person who uses his computer,
mainly for the purpose of diddling with his computer."
-- Dave Barry
"Science never solves a problem without creating ten more."
-- George Bernard Shaw
"People think of the inventor as a screwball,
but no one ever asks the inventor what he thinks of other people."
-- Charles Kettering
More information about the mdlug
mailing list