How to Mount/Unmount from xfe file explorer?

Booting, installing, newbie
Post Reply
Message
Author
Henry
Posts: 863
Joined: Sun 30 Jul 2006, 02:28
Location: Oregon USA
Contact:

How to Mount/Unmount from xfe file explorer?

#1 Post by Henry »

I have installed xfe 0.88 file explorer. I like it and would like to use it much as I used to use windows Explorer. I see the icons for mounting/unmounting in the tool bar, but they appear not to work, except to some extent for the floppy, and do not track MUT. Can you help me understand this?

Henry

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

Most Linux-systems use
/etc/fstab
to manage mountpoints.
Puppy does not, but also has this file for compatibility-reasons.

With an editor, you could add such a line to mount sda7:

Code: Select all

/dev/sda7	/mnt/sda7  auto     defaults               0 0 
This should work fine with Linux-drives.
I just tried it with a windows-vfat partition, but with "auto" only short filenames are used.

You can do this:
mount a drive with MUT.
Then look in /etc/mtab , what values were used, and add them to /etc/fstab.
Then you can use XFE to mount drives correctly :)

Mark

Henry
Posts: 863
Joined: Sun 30 Jul 2006, 02:28
Location: Oregon USA
Contact:

#3 Post by Henry »

Thanks, Mark.

I used MUT to mount the floppy, hda1, hda2, hda3, and sda, which is a 2 Gb USB flash drive and copied the corresponding lines from /etc/mtab to /etc/fstab.

floppy mounts & unmounts from xfe.

hda1,2,3 do not mount but do unmount from xfe.
Fail to mount gives message: "mount: Mount/dev/hdax/ on .mnt/hdax failed: invalid argument"

sda neither mounts or unmounts from xfe.

Henry

Henry
Posts: 863
Joined: Sun 30 Jul 2006, 02:28
Location: Oregon USA
Contact:

#4 Post by Henry »

To clarify, this is now the contents of /etc/fstab:

/dev/ram0 /initrd ext2 defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
none /dev/pts devpts gid=2,mode=620 0 0
/dev/fd0 /mnt/floppy auto noauto,rw 0 0
/dev/hda1 /mnt/hda1 vfat rw,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1 0 0
/dev/hda2 /mnt/hda2 vfat rw,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1 0 0
/dev/hda3 /mnt/hda3 vfat rw,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1 0 0
/dev/hda4 /initrd/mnt/dev_save vfat rw,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1 0 0
/dev/sda /mnt/sda vfat rw,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1 0 0
/dev/hdd /mnt/hdd iso9660 ro 0 0

( I feel like the sorceror's apprentice, but do appreciate the help. ;-)

Henry

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#5 Post by MU »

I think the "rw" is on the wrong position.

Here is an entry from my Mandrivalinux as an example:

Code: Select all

/dev/hdb1 /mnt/win_c2 ntfs umask=0,nls=iso8859-15,ro 0 0
/dev/hdd1 /mnt/windows3 vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
/dev/sda14              /mnt/removable          vfat    pamconsole,exec,noauto,codepage=850,iocharset=iso8859-15,managed 0 0
/dev/sda13              /mnt/removable1         ext2    pamconsole,exec,noauto,managed 0 0
Mark

Henry
Posts: 863
Joined: Sun 30 Jul 2006, 02:28
Location: Oregon USA
Contact:

#6 Post by Henry »

[quote] I think the "rw" is on the wrong position.

Sorry, I don't understand. Should it be moved? I tried removing "rw", got message "failed: no such device"

Henry[/quote]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#7 Post by MU »

you have:
/dev/hda1 /mnt/hda1 vfat rw,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1 0 0

Mandriva has:

/dev/hdb1 /mnt/win_c2 ntfs umask=0,nls=iso8859-15,ro 0 0

So the permissions are after the font.
try:
/dev/hda1 /mnt/hda1 vfat fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,rw 0 0

I don't know, if that makes a difference.

Does "auto" work for you?

Also be shure that the targetfolder exists (/mnt/hda1).

Mark

Henry
Posts: 863
Joined: Sun 30 Jul 2006, 02:28
Location: Oregon USA
Contact:

#8 Post by Henry »

No, that also gives me "failed: invalid argument".

In addition to xfe I also tried emel-fm2. It fails in the same way. But they do work with the floppy; is that what you mean by "auto"?

Most of the other (file management) functions seem to work OK.

Of course it isn't important, since we have MUT and Pmount. It is just somehow untidy. And you have more important things to do - I know!

Thanks,
Henry

Post Reply