-
Autoplay
Knoppix is the first linux distro that I installed to my pc, so I'm still a newbie when it comes to handling different configurations.
I just want to know if knoppix can support autoplay? Is there such a script that will permanently mount the /sda1?
Or is there a script that will disable the unmounting process after restarting the pc?
Replies will be very much appreciated. Thank you. God Bless.
-
Senior Member
registered user
Hi, sorry for long delay. Its not the bets distro for a newbie, however if you installed to hard drive
then the mounting of file systems is controlled by a file system table or fstab (for short)
You just edit the fstab which lives in /etc and modify the mounting partitions. Its not a job for a beginner,
so easiest is just to click the drive icon and mount the partition that way.
An example of /etc/fstab would be
/dev/sda1 /mnt/sda1 ntfs defaults 0 0
You need to read the manual page for fstab so from a terminal
man fstab
will also help you.
-
i have already edited the auto mount of flash drives in the /etc/fstab...
anyways... thanks for the help...
i have a problem now on autoexploring the USB drive upon insertion. i really have no idea about this...
thank you!
-
Senior Member
registered user
Originally Posted by
ecliu
i have already edited the auto mount of flash drives in the /etc/fstab...
anyways... thanks for the help...
i have a problem now on autoexploring the USB drive upon insertion. i really have no idea about this...
thank you!
With a permanent knoppix install, knoppix will always modify the fstab unless you change the grub boot parameters to nofstab.
When you plug in a usb memory stick. open a terminal and type dmesg
There should be some useful output. It maybe that either dbus or hald is not running, there was a post about this in the tips sction.
-
OK... I'll try to follow the instructions in the tips section...
but i still have one last question...
in my fstab file, i added this line:
/dev/sda1 /media/sda1 vfat auto,users,exec 0 0
this allows me to mount the flash drive without typing the "mount" command in the terminal everytime i boot up.
and then when i checked my flash drive using "ls -l" I can't see the files, but when i tried to click the sda1 icon in my desktop,
all my files were there. then i typed "ls -l" again and there was my files.
is it possible to view my files, whether in CLI or GUI mode without clicking the sda1 icon in my desktop...?
thank you thank you thank you very much...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Crucial 8GB 1x8GB PC RAM PC3L 12800U DDR3 1600MHz Desktop Memory DIMM
$8.99
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
Micron 8GB DDR4 1Rx16 PC4-3200AA Laptop RAM Memory MTA4ATF1G64HZ-3G2E2
$10.00
Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory
$54.99
Crucial 8GB SO-DIMM PC3-12800 (DDR3-1600) Memory
$9.49
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$22.45
Micron 16GB DDR4-2400 SODIMM MTA16ATF2G64HZ-2G3E1 Laptop Memory RAM
$21.99
Samsung 8GB (1x8GB) PC4-21300 DDR4-2666V Laptop Memory SDRAM M471A1K43CB1-CTD
$10.99
A-Tech 128GB 4x 32GB 2Rx4 PC4-19200R DDR4 2400 ECC REG RDIMM Server Memory RAM
$191.96
Samsung M393A8G40AB2-CWE 64GB 2Rx4 PC4-25600 ECC Registered Server Memory RAM
$134.99