Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: edit /etc/fstab to automount /mnt/floppy?< Next Oldest | Next Newest >
mrbaldwin Offline





Group: Members
Posts: 11
Joined: Mar. 2004
Posted: April 01 2004,02:40 QUOTE

Is there a way to edit /etc/fstab to automount /mnt/floppy?
It would particularly useful, since I'm giving this DSL box away to a student who has no computer, in order to make things as easy as possible for her.


--------------
http://www.School-Library.net
Freedom to Learn!
Back to top
Profile PM WEB AOL YIM 
mrbaldwin Offline





Group: Members
Posts: 11
Joined: Mar. 2004
Posted: April 01 2004,02:40 QUOTE

I should have mentioned that this was on a HD install, an old pentium1 100mhz.

--------------
http://www.School-Library.net
Freedom to Learn!
Back to top
Profile PM WEB AOL YIM 
CappyCaffeine Offline





Group: Members
Posts: 64
Joined: Jan. 2004
Posted: April 01 2004,05:13 QUOTE

If you mean that you want DSL to recognize a floppy when inserted, even Windows XP won't do that until you perform a call to read the floppy when accessing the drive.

In the DSL desktop, one of the little applications in the slit is mount.app. It will cycle through the storage devices by hitting the right and left arrows at the lower right of the box, then by clicing on the rectangular button to the left of those arrows will mount the device: Floppy included.

Since DSL is based on Knoppix which recreates /etc/fstab on startup, editing it is only helpful until you reboot, then it's recreated again, or edited.

I have found that in order to "automount" existing partitions (such as a wiindows partition) is to  add

mount /mnt/hda1

to the /opt/bootlocal.sh file.

this is handy when using DSL as a samba or web server and the files to share or publish are on a windows partition. Or.. if they are burned onto a CDROM, you can "automount" the cdrom with:

mount /mnt/cdrom

to the /opt/bootlocal.sh file.

Cheers!

Cappy
Back to top
Profile PM MSN 
Grim Offline





Group: Members
Posts: 284
Joined: Mar. 2004
Posted: April 03 2004,03:56 QUOTE

You want supermount.

It'll require a kernel recompile, but it'll add the following features:

With supermount, you can change the disk in the drive whenever you want (with the obvious exception that you shouldn't do it when the filesystem is actively in use). You don't need to "cd" out of the directory first, and you don't need to tell the kernel what you're doing --- supermount will detect the media change automatically.

Supermount will automatically detect whether the media you are mounting is read-write or readonly, and if you mount a write-protected disk, then the subfs will be mounted as a readonly filesystem.

Supermount detects when you have finished activity on the subfs, and will flush all buffers to the disk before completing the operation. So, if you copy a file onto a supermounted floppy disk, the data will all be written to disk before the "cp" command finishes. When the command does complete, it will be safe to remove the disk.

It can be applied to the following Linux kernel sources: 2.4.20, 2.4.21, 2.4.22, 2.4.23, 2.4.24

Maybe, if you ask real nice, John'll include supermount in the next release.


--------------
No good deed goes unpunished...
Back to top
Profile PM WEB 
3 replies since April 01 2004,02:40 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: edit /etc/fstab to automount /mnt/floppy?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code