more newbie questions
i tried looking for answers in the man pages in linux already but still cant get a simple answer. any help would be appreciated
1. how do i translate the following commands into commands in the fstab file? mount --bind /home/ftp /home/user1/ftp mount --bind /home/ftp /home/user2/ftp i tried "/home/ftp /home/user1/ftp reiserfs defaults 1 2" and "/home/ftp /home/user2/ftp reiserfs defaults 1 2", and it didnt work =(. it tells me no such block device 2.Say if i want to share my music folder in windows with different users in my linux box, should i "smbmount //windows/music /home/music", then "mount --bind /home/music /home/user1/music" and "mount --bind /home/music/user2/music"? or should i do the mounts first then do the smbmount? 3.how do i identify which NIC is eth0 eth1 etc... in command prompt? thx in advance :newbie: |
Re: more newbie questions
Quote:
it with putting the invocation into rc.local Quote:
but why not mount it to some place, and just create a symlink to the users directory? Quote:
The first one in the list (given it's PCI number) will be eth0 ... Cheers, Tink |
the reason i use bind is that if i do a chroot in proftp that's the only way to access things that is not under user's home directory. as for lspci i get something like this:
Host bridge: VIA .... ISA bridge: VIA ... IDE interface: VIA ... 00:08.0 Ethernet controller: .... (my eth2 for some reason?) 00:09.0 Ethernet controller: .... (eth0) 00:0a.0 Ethernet controller: .... (eth1) Are these "00:08.0", "00:08.0" and "00:0a.0" the pci number u mentioned? However when i do ifconfig i dont see anything that's the same as those numbers. |
Quote:
Rule of thumb: the closer the device to the power supply, the lower its PCI number, the lower its ethX ... Cheers, Tink |
All times are GMT -5. The time now is 12:55 AM. |