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
Pages: (2) </ [1] 2 >/

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

reply to topic new topic new poll
Topic: Low Fat, No Fat Samba, getting access to windoze< Next Oldest | Next Newest >
DrWatt Offline





Group: Members
Posts: 91
Joined: Nov. 2003
Posted: Dec. 03 2003,19:58 QUOTE

I need to be able to read and write windoze files, since most clients insist on using it. I currently use the simple solution below:

in xterm type "/mnt/windows"  Note - you can call the directory anything you want

with a text editor open file /etc/fstab and add a line to the file that reads:

/dev/hda2 /mnt/windows vfat users.owner.rw.umask=000 0 1

Note: - my windoze is on hda2 and I am running fat32, yours may be someplace else.

save the file as /etc/fstab


When you want to mount the windows partition type "mount -a"

I can't remember if I have to be root to do all this, but it works.

Now, for my question - this is obviously a no-fat way to get some of the capabilities of samba. Is there some way to make it permanent, so I don't have to type "mount -a" each time?

Since many people here are probably running dual boot boxes, it might be a good addition to a future version to have an easy way for noobs to be able to interact with their windoze partitions. An icon to mount the partitions would be  great.

Is samba overkill for this, if all I want to do is be able to read and write files off my windoze partition?
Back to top
Profile PM AOL 
Asmodeus Offline





Group: Members
Posts: 26
Joined: Oct. 2003
Posted: Dec. 04 2003,07:22 QUOTE

First of all, i believe you may have Samba confused with a local file system.
Samba is the software used to share files/folders, and to access files/folders on a lan.


--------------
Back to top
Profile PM YIM 
DrWatt Offline





Group: Members
Posts: 91
Joined: Nov. 2003
Posted: Dec. 04 2003,14:07 QUOTE

Thanks Asomodeus. You are correct, from what I have read. I finally conccluded that fora single user machine with a local printer I don't need samba at all. I am still struggling with the problem of getting access to the windoze partition for more than root. Giving root access is fairly easy but giving damnsmall or any other ordinary user access to the vfat drive has eluded me since the chmod command has no affect on a windoze partition.
Back to top
Profile PM AOL 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 04 2003,17:26 QUOTE

I don't have access to a windows machine with fat32, so this is untested, but try this

sudo mount -t vfat -o uid=damnsmall /dev/hda2 /mnt/windows
Back to top
Profile PM WEB 
DrWatt Offline





Group: Members
Posts: 91
Joined: Nov. 2003
Posted: Dec. 04 2003,20:03 QUOTE

Yes!

Thanks Roberts. That worked. I have tried a bunch of them that are in various sources, but this is the first one that I have found that lets damnsmall access the windoze partition. Now to convert into something I can just put in /etc/fstab and/or have it work when x starts.
Back to top
Profile PM AOL 
5 replies since Dec. 03 2003,19:58 < Next Oldest | Next Newest >

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

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Low Fat, No Fat Samba

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