[BUG] Swap partition recognized as an UsbDisk

Andrea Cimitan andrea.cimitan at gmail.com
Sat Jul 7 05:50:19 PDT 2007


Il giorno sab, 07/07/2007 alle 14.40 +0200, Andrea Cimitan ha scritto:
> Il giorno sab, 07/07/2007 alle 08.32 +0200, Kay Sievers ha scritto:
> > On 6/9/07, Andrea Cimitan <andrea.cimitan at gmail.com> wrote:
> > > I'm using new pata drivers which causes the device names to be sdaX.
> > > My swap partition is sda1, and under "Computer" (in nautilus/gnome
> and in kde) is shown (it shouldn't since it
> > > isn't browsable) and named UsbDisk, so when I put a _real_ UsbDisk
> it is
> > > renamed as disk-1 and so on...
> > > It is also placed in gtk-gilechooser, causing usability problems
> > >
> > > What it was expected to do:
> > > 1. Not show swap under Computer and gtk-filechooser
> > > 2. Not name it as "UsbDisk", since it isn't browsable and it isn't
> an usbdisk
> > >
> > > First submitted here:
> > > http://bugzilla.gnome.org/show_bug.cgi?id=445647
> > 
> > It is likely a leftover signature from a former formatting. You have
> > to clear the first few kilobytes of the partition before doing mkswap.
> > As Danny already mentioned:
> >   /lib/udev/vol_id --probe-all /dev/sdX
> > is likely to show you two detected filesystems instead of only
> "linux_swap".
> > 
> > Some of the Linux tools are just horrible broken regarding cleaning
> > old signatures before applying new ones.
> > 
> > Kay
> Yes... I have vfat and swap.
> This hd was used in a laptop, which had a windows installation that i've
> purged off :)
> Also re-trying mkswap I have the same problem. How to clear it? usind
> dd?
> 
> Thanks
> 
Before doing mkswap I've used mkfs.ext3, that purged vfat's blocks



More information about the hal mailing list