[nflug] Flushing a USB drive (and mounting a second partition from my desktop)

Joe josephj at main.nc.us
Thu Mar 6 11:21:45 EST 2008


vlok stone wrote:
> Is the partition vfat or ntfs?  If it's ntfs you'll
> need the kernel modules loaded to mount it. 
>
> --- Cyber Source <peter at thecybersource.com> wrote:
>
>   
>> udev should handle the second partition as it does
>> the first. Have a 
>> look in your /etc/fstab file for a conflicting entry
>> relative to the 
>> partition that's not automounting, you most likely
>> have a conflicting 
>> entry in there with the "noauto" option. I'm a gnome
>> guy but I'm sure if 
>> you right click on the icon in kde, you'll get a
>> eject/unmount option 
>> for the drive just like in windows.
>>
>> Joe wrote:
>>     
>>> I have a USB 250GB hard disk with two partitions
>>>       
>> on it.  One is for
>>     
>>> Windoze and one for Linux.
>>>
>>> When I plug it into the usb socket, kubuntu/kde
>>>       
>> puts an icon on my
>>     
>>> desktop for the first partition on the drive
>>>       
>> (which happens to be the
>>     
>>> windows one).
>>>
>>> I can mount the second partition (Linux) manually
>>>       
>> using sudo mount
>>     
>>> /dev/sdb2 /media/linusb
>>>
>>> * How can I get the second partition to mount just
>>>       
>> like the first one
>>     
>>> does - with no fuss?
>>>
>>> * When I want to unplug the drive, how do I flush
>>>       
>> it (assure that all
>>     
>>> writes have completed)?  For the Windoze
>>>       
>> partition, I just right-click
>>     
>>> on the desktop disk icon and select "safely
>>>       
>> remove".
>>     
>>> Thanks.
>>>
>>> Joe
>>> _______________________________________________
>>> nflug mailing list
>>> nflug at nflug.org
>>> http://www.nflug.org/mailman/listinfo/nflug
>>>   
>>>       
>> _______________________________________________
>> nflug mailing list
>> nflug at nflug.org
>> http://www.nflug.org/mailman/listinfo/nflug
>>
>>     
>
>
> First they ignore you, then they laugh at you, then they fight you, then you win
> - Mohandas Gandhi
>
>
>       ____________________________________________________________________________________
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
>
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>
>   
The 1st partition (the one that works fine) is NTFS.  I have ntfs-3g
installed and it's better than ever in gutsy.  It just works
automagically (for my windows partition on my internal hard disk)!

The second partition is Linux ext3.  That's the one that gets ignored by
kde (or whoever handles it).  As I said originally, it does mount fine
when I do it from the command line.

Joe


More information about the nflug mailing list