LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 05-13-2004, 04:18 PM   #1
Patbuzz86
Member
 
Registered: Mar 2004
Distribution: MDK 9.2
Posts: 92

Rep: Reputation: 15
Flash Drive


Ok so i am trying to get permissions to the mount point of my flash drive. As of now i am trying to copy some files into the flash drive from my hard drive using the cp command

I go back and use 'ls -l' and the files that i want are there -- all good

i take the drive out and put in in to an m$ machine and the files are gone

Put the drive back into the mandrake 9.2 machine and the files are also not ther.

So after frustration i said maybe it is due to permisions or some thing - eventhough everything in the console i do is under root. So i use 'chmod 777 /mnt/removable' to change the permissions. the permissions dont change what am i supposed to do now.

I installed Mandrake 9.2 the first time and anytime that i put the drive into the machine a link popped up on my desktop -- now it doesnt happen after trying a different Distro.

When i plugged the drive in the second time i installed MDK it asked if i wanted to configure it -- i said ok and set the mount point as '/mnt/removable/' and it set everything else -- as in the permissions for root only.

WHAT DO I DO!
Please help me
 
Old 05-13-2004, 04:49 PM   #2
peacebwitchu
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 185

Rep: Reputation: 30
Do you unmount the drive or just yank it out? If you don't unmount the drive it may not get flushed to disk.
 
Old 05-13-2004, 05:07 PM   #3
Patbuzz86
Member
 
Registered: Mar 2004
Distribution: MDK 9.2
Posts: 92

Original Poster
Rep: Reputation: 15
well i tried to unmount and it said device busy

but then i yanked it out
 
Old 05-13-2004, 05:25 PM   #4
peacebwitchu
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 185

Rep: Reputation: 30
You can't unmount it if you are cd'd into the filesystem of the flash drive. Issue a plain "cd" this will take you to your home directory then umount /mnt/removable
 
Old 05-13-2004, 05:30 PM   #5
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 535

Rep: Reputation: 30
First make sure no files on that device are still open,
then "sync" should write your files at once
If there is not something wrong with "supermount" system it should work
Ciao
 
Old 05-14-2004, 12:03 AM   #6
Patbuzz86
Member
 
Registered: Mar 2004
Distribution: MDK 9.2
Posts: 92

Original Poster
Rep: Reputation: 15
1. what is 'sync'
2. still cant 'umount' -- "device is busy"
 
Old 05-14-2004, 05:27 AM   #7
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 535

Rep: Reputation: 30
The command
sync
synchronise the whole system, writing on devices what still is in the memory.
Ciao
 
Old 05-14-2004, 03:33 PM   #8
Patbuzz86
Member
 
Registered: Mar 2004
Distribution: MDK 9.2
Posts: 92

Original Poster
Rep: Reputation: 15
OK here is my File:/etc/fstab --

/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,sync,codepage=850,iocharset=iso8859-1,umask=0 0 0
/dev/sda1 /mnt/removable vfat defaults 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0

I want to give every user all permissions (ie 'chmod 777') and i want and icon to come up on the desktop when it is plugged in or atleast mounted from the command line. What do i have to add to the File or how can i do it so that it will do what i want?!

I use MDK9.2
 
Old 05-14-2004, 03:55 PM   #9
Patbuzz86
Member
 
Registered: Mar 2004
Distribution: MDK 9.2
Posts: 92

Original Poster
Rep: Reputation: 15
Nevermind i used disk drake then rebooted -- think it fixed all my problems -- atleast we can hope
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
flash drive spankmeister7 Linux - Hardware 3 09-21-2005 01:29 AM
flash drive?? n0kturnal Slackware 4 08-08-2005 04:29 PM
Need Help With Flash Drive The_Landlord Linux - Newbie 4 01-25-2005 05:45 PM
IRQ conflict when external drive/flash-drive is put to use Nightfrost Linux - Hardware 0 10-22-2004 05:15 AM
Flash USE drive? jp2 Linux - Newbie 1 09-14-2004 09:05 PM


All times are GMT -5. The time now is 05:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration