Re: [newbie-it] fstab

2003-06-09 Per discussione Arwan
Alle Monday 09 June 2003 18:44, a proposito di Re: [newbie-it] fstab (e 
chissa' a cosa pensava veramente), miKe ha scritto: 

  Ueh miKe, ci si sente anche quì??? ;)

 internet è troppo piccola per tutti e due !!

Il problema non e' sentirsi qui, ma da tutte le altre parti!

-- 
Burp!
Arwan



Re: [newbie-it] fstab

2003-06-09 Per discussione Luigi Pinna
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alle 19:26, lunedì 9 giugno 2003, Giovanni Mazzamati ha scritto:
 Ecco, appunto..

 Come scrivevo in precedenza il formato di fstab è:

 /device   /mountpoint filesystem  opzioni parametri_di_ceck

 Guarda il mio fstab sotto Slack:

 [EMAIL PROTECTED] gigi]# cat /etc/fstab
 /dev/hdb1swap swapdefaults 0   0
 /dev/hda6/reiserfsdefaults 1   1
 /dev/hda5/oboot   reiserfsdefaults 1   2
 /dev/hdb2/ohome   ext3defaults 1   2
 /dev/hdb3/olinux  ext3defaults 1   2
 /dev/hda1/win vfatnoauto,user  1   0
 /dev/sr0 /sr0 iso9660 noauto,user,ro   0   0
 /dev/cdrom   /cdrom   iso9660 noauto,user,ro   0   0
 /dev/fd0 /floppy  autonoauto,user  0   0
 devpts   /dev/pts devpts  gid=5,mode=620   0   0
 proc /procprocdefaults 0   0
 //win/documenti  /net/win smbfs   noauto,user  0   0
 [EMAIL PROTECTED] gigi]#

 Spero di essere stato chiaro
 Per provare prova a dare, da root;  # Piaciuto il gioco di parole...
 ;-PPP

 mount /dev/cdrom -t iso9660 /mnt/cdrom


 Ueh miKe, ci si sente anche quì??? ;)

Grazie a tutti, adesso funziona!
Certo che è una faticcacia pazzesca togliere il supermount!
Come mai a me il cdrom emulato si chiama scs0 e a te sr0? È una 
questione di distribuzione o che significa questa differenza? 
(Ovviamente non influisce sul funzionamento ma vorrei sapere di più)
Sai che ho scoperto che  Gigi in turco significa dolce?
A me non piace e non mi faccio più chiamare così!
Buonanottte
Luigi
- -- 
Sono stato picchiato, ma mi sono difeso bene.  A uno di quelli gli ho 
rotto
la mano: mi ci e' voluta tutta la faccia, ma ce l'ho fatta.
-- Woody Allen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+5SuiTvJtVxCNwP4RAki2AJ9/ZE9Z/nrrxUJDYDoqBYNywvvCjgCdHxuG
HU5Z/H0SqRV/Ekm1jzkbUTc=
=/3Sv
-END PGP SIGNATURE-




Re: [newbie-it] fstab

2003-06-08 Per discussione Giovanni Mazzamati
Il 12:16, domenica 08 giugno 2003 alle 12:16, domenica 08 giugno 2003, Luigi 
Pinna su [newbie-it] fstab - ha sfarfugliato:
...
 come giusto per il supermount) ora mi dice che solo root può montare e
 da root mi dice che fs users non è supoortato dal kernel.
 Come lo devo aggiustare?
 Vi allego il mio fstab:
...
/dev/scd0 /mnt/cdrom users iocharset=iso8859-15,codepage=850,noauto,ro 0 0
/dev/scd1 /mnt/dvd users iocharset=iso8859-15,codepage=850,noauto,ro 0 0

le righe sopra devono divebtare...

/dev/scd0 /mnt/cdrom auto users,iocharset=iso8859-15,codepage=850,noauto,ro 0 
0
/dev/scd1 /mnt/dvd auto users,iocharset=iso8859-15,codepage=850,noauto,ro 0 0

per maggiori info:
man fstab ;)

Comunque ti allego il mio fstab sotto MDK
-- 
94 / 218
Ma se mangio come un'uccellino!!! - con nove metri di ali e settanta di 
intestino... (miKe vs Giovanni)

saluti
Giovanni Mazzamati
+-+
| Linux Slackware 9.0 - KDE 3.1.2 user|
| Registered User #183142 |
+-+
| La conoscenza è nulla senza condivisione. |
| Paolo Caldana aka verbal  |
+-+
/dev/hdb3 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdb2 /home ext3 defaults 1 2
/dev/hdc /mnt/cdrom auto ro,noauto,user,exec 0 0
/dev/scd0 /mnt/cdrom2 auto ro,noauto,user,exec 0 0
/dev/fd0 /mnt/floppy auto user,iocharset=iso8859-15,sync,codepage=850,noauto 0 0
//linux/DESKTOPGESSC /mnt/net/DESKTOPGESSC smbfs user,username=%,noauto,suid,exec 0 0
//win-only/DOC-WIN-NET /mnt/net/doc-win-only smbfs user,username=%,noauto,suid,exec 0 0
/dev/hda1 /mnt/windows vfat 
user,iocharset=iso8859-15,dev,codepage=850,noauto,umask=0,exec 0 0
none /proc proc defaults 0 0
/dev/hda5 /var/www/html reiserfs defaults 1 2
/dev/hdb1 swap swap defaults 0 0
/dev/hda6 /mnt/olinux reiserfs noauto,user,exec 0 0


Re: [newbie-it] fstab

2003-06-08 Per discussione Luigi Pinna
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alle 13:45, domenica 8 giugno 2003, Giovanni Mazzamati ha scritto:
 Il 12:16, domenica 08 giugno 2003 alle 12:16, domenica 08 giugno
 2003, Luigi Pinna su [newbie-it] fstab - ha sfarfugliato:

 /dev/scd0 /mnt/cdrom users
 iocharset=iso8859-15,codepage=850,noauto,ro 0 0 /dev/scd1 /mnt/dvd
 users iocharset=iso8859-15,codepage=850,noauto,ro 0 0

 le righe sopra devono divebtare..

 /dev/scd0 /mnt/cdrom auto
 users,iocharset=iso8859-15,codepage=850,noauto,ro 0 0
 /dev/scd1 /mnt/dvd auto
 users,iocharset=iso8859-15,codepage=850,noauto,ro 0 0

 per maggiori info:
 man fstab ;)

 Comunque ti allego il mio fstab sotto MDK
Il problema è che ricompilato un kernel liscio (non mandrake) è questo è 
il risultato del nuovo fstab seguendo le tue indicazioni: ma non è che 
users è un filesystem di mandrake?

[EMAIL PROTECTED] ferris]$ mount /mnt/cdrom
[mntent]: la linea 4 in /etc/fstab non è valida
[mntent]: la linea 5 in /etc/fstab non è valida
mount: impossibile trovare /mnt/cdrom in /etc/fstab o /etc/mtab

- -- 
Tom Hayden e' il tipo di politico che da' all'opportunismo un cattivo
nome.
-- Gore Vidal
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+41dtTvJtVxCNwP4RAsT+AKCy0igBcCY+MIt6QHcNH7KdOdoXVwCgk02D
t2xKdyt94k7tIP4P8MjTj6I=
=FnCa
-END PGP SIGNATURE-




Re: [newbie-it] fstab

2003-06-08 Per discussione miKe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alle 12:16, domenica 8 giugno 2003,  in merito a [newbie-it] fstab,  
Luigi Pinna   ha scritto:

 /dev/scd0 /mnt/cdrom users

/dev/scd0 /mnt/cdrom iso9660 users,..,...,...,...

users non è un filesystem, ma una opzione

 Luigi

- -- 

bye

miKe




Slackware 8.1 GNU/Linux 2.4.20 @ hp  Xe3
R.U.#219755 -- S.R.U.#705 -- R.M.#110932


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+41/cF/9fksDJ4y0RAlbEAKC20GD7qS4BtZ2HNFQA1CThrMkzKACcCd8R
ulO/OuZfgrgiibdTjMV/Md4=
=UD6n
-END PGP SIGNATURE-




Re: [newbie-it] Fstab e Masterizzazione

2003-06-08 Per discussione miKe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alle 17:12, domenica 8 giugno 2003,  in merito a [newbie-it] Fstab e 
Masterizzazione,  Luigi Beltramini   ha scritto:
 salve,

 vorrei sapere se le seguenti impostazioni nell'fstab vanno bene per
 una corretta masterizzazione:

 /dev/scd1 /mnt/cdr iso9660
 user,iocharset=iso8859-15,dev,codepage=850,noauto,suid,exec 0 0

 none /mnt/cdrom supermount
 dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-15,code
 page=850,umask=0 0 0

credo possano andare per programmi che non vogliono anche il cdrom 
emulato scsi, per la copia diretta (tipo k3b)
altrimenti anche il cd ti conviene indicarlo come il mansterizzatore, 
previa aggiunta anche a lilo.conf nella parte relativa all'append 
ide-scsi


- -- 

bye

miKe




Slackware 8.1 GNU/Linux 2.4.20 @ hp  Xe3
R.U.#219755 -- S.R.U.#705 -- R.M.#110932


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+42G1F/9fksDJ4y0RAiynAKCPtaLWo2GV/+ax8jpcn/UM+ukmLgCfWmOo
lCwnrKWR7cUYSravJ1zL2eE=
=f7YW
-END PGP SIGNATURE-




Re: [newbie] Mounting/Fstab/Perms

2002-10-29 Per discussione bascule
i got caught out recently by unexpected behaviour in this arena, apparently (i 
beleive this to be a recent thing but i can't confirm this) linux will 
respect the read-only aspect of a fat file attribute and make your files 
appear unwritable when mounted, however you should be able to 'change' the 
permissions, this change appears to survive reboots but i haven't gone into 
win to check what the file attribs now are, apparently system files in fat 
are also recognised in some fashion but i'm not sure how,
if you mount a fat drive with the 'quiet' option you can avoid those dialogue 
boxes telling you that permissions couldn't be set when writing to the fat 
volume, perhaps you have that and it is preventing error messages when you 
try to alter permissions,? - this is a guess by the way!
if you are trying to change permisions as a user try also as root

bascule

On Tuesday 29 Oct 2002 6:16 pm, Jordan Elver wrote:
 Hi,
 Just installed 9 and looks cool. But having some permissions problems. I
 have a vfat partition that I am not allowed to write too. When trying to
 chage the permissions to 777 it does not do it, but does not error either?!

 Is this behaviour expected? I don't know if I am having these troubles
 because it is vfat? I never used to in 8.2.

 Thanks for any help,
 Cheers,
 Jord

-- 
Yes, it's the right planet, all right,  he said again. 
Right planet, wrong universe. 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie-it] fstab e LABEL

2002-05-12 Per discussione freefred

On Saturday 11 May 2002 12:31 pm, you wrote:
 Ciao a tutti!
 Qualcuno mi sa dire come si gestisce la voce LABEL in /etc/fstab ?
 In pratica io ero abituato a trovare in prima colonna di fstab il device
 invece adesso mi trovo la scritta LABEL=/ e LABEL=/usr 

scusa la domanda: tra prima ed adesso che cosa c'e' stato?
hai aggiornato o cambiato distro?

bye

-- 
Devil Inside Experiment - C'era un bambino che odiava la polizia
http://www.acidlife.com/mayhem/freefred/
Davide Banda Partial Arts [2000] - http://web.genie.it/utenti/f/freefred/
ICQ uin 5887365 - PGP key available on keyservers




Re: [newbie-it] fstab rinominato!!!

2001-04-03 Per discussione Fabio Coatti

Il 08:49, marted 03 aprile 2001, scrivesti:
 Ciao a tutti, ho rinominato il file etc/fstab e non mi si riavvia pi
 Linux, il sistema mi da per la possibilit ad un certo punto(da
 utente root) di accedervi da modalit testo, per riparare il problema.
 Nella mia dir /etc/fstab ho 2 fstab rinominati uno come #fstab# e
 l'altrocome fstab~
 Qual'  il comando per rinominarli in fstab normale e se  "rename"
 come funzionaVisto che dalle pagine man non si capisce
 nulla!!!Perch non mi permette di cancellarli, anche se sono root
 Devo reinstallare tutto

Tranquillo,  un problema minimo... non ri reinstalla nulla :)

il comando che permette di rinominare un file  mv

mv vecchio nuovo.

magari prima guarda cosa c' dentro, ad occhio i files che hai l 
sembrano dei backup, uno forse di joe (quello con la ~) e l'altro di 
emacs, e non si pu sapere se sono corretti od aggiornati.

per leggerli usa less, non un editor, cos sei sicuro di non fare 
modifiche.

-- 
Fabio Coatti   http://www.ferrara.linux.it/members/cova 
Ferrara Linux Users Group   http://ferrara.linux.it
GnuPG fp:9765 A5B6 6843 17BC A646  BE8C FA56 373A 5374 C703
Old SysOps never die... they simply forget their password.





Re: [newbie] corrupted fstab

2000-05-27 Per discussione Alan Shoemaker

Jimon your installation CD there is a file in the images
directory called rescue.img and another file called README. 
Follow the directions in the rescue section of the README
file.  Then use the set of 2 floppies you just made to boot
your system at which point you should be able to repair your
/etc/fstab file.

Alan


Jim Everett wrote:
 
 Trying to get Linux to recognise my Windows partition I have been editing
 /etc/fstab.
 
 Accidentally I changed the file name and then rebooted.
 
 Now the system fails to load properly.  The file system is loaded read-only
 and I cannot figure out how to change it so that I can change the file name
 back to fstab.
 
 Help!
 
 ---
 Jim Everett
 Alloa
 
 ___
  Get 100% private, FREE email for life from Excite UK
  Visit http://inbox.excite.co.uk/




Re: [newbie] corrupted fstab

2000-05-27 Per discussione Chmouel Boudjnah

Jim Everett [EMAIL PROTECTED] writes:

 Now the system fails to load properly.  The file system is loaded read-only
 and I cannot figure out how to change it so that I can change the file name
 back to fstab.

at lilo do a :

linux 1

and fix your /etc/fstab with vi

-- 
MandrakeSoft Inchttp://www.mandrakesoft.com
In travel.--Chmouel




Re: [newbie] HELP fstab

2000-02-09 Per discussione Sam

Hello Andrew,
I just went thru the same for my NT drive (hda1)
Added to the /etc/fstab
the following line:
/dev/hda1  /nt40  ntfsdefaults  0 0

didn't work!
til
I made a directory under /
called /nt40

duh ... o well live and learn.

God Bless,
Sam

http://www.wcc.net/~peacemkr/linuxindex.html
NOT an IE friendly site.



"Hill, Andrew" wrote:
 
 I need a little help!
 I wanted to gain access to my windows drives, hda1 and hda5/6, as a
 normal user. I asked for advice and received some which suggested adding
 a new user group and allowing this group access to the hda1/5/6. I did
 this using linuxconf, this resulted in adding the new group and adding
 the permissions to access the drives. That worked, however, when I
 rebooted I am told that the fstab file is invalid or non-functional. But
 it worked after the first change. I am new to Linux, therefore as an old
 windows user I backed up the fstab file to fstab2, in the same
 directory, /etc. Can I re-invoke this fstab2 file, edit the fstab new or
 what ? Suggestions.
 
 Dr Andrew J Hill
 Department of Anaesthesia
 Royal Sussex County Hospital
 Brighton
 BN2 5BE
 01273 609060



Re: [newbie] HELP fstab

2000-02-09 Per discussione Dan Ferris

"Hill, Andrew" wrote:
 
 I need a little help!
 I wanted to gain access to my windows drives, hda1 and hda5/6, as a
 normal user. I asked for advice and received some which suggested adding
 a new user group and allowing this group access to the hda1/5/6. I did
 this using linuxconf, this resulted in adding the new group and adding
 the permissions to access the drives. That worked, however, when I
 rebooted I am told that the fstab file is invalid or non-functional. But
 it worked after the first change. I am new to Linux, therefore as an old
 windows user I backed up the fstab file to fstab2, in the same
 directory, /etc. Can I re-invoke this fstab2 file, edit the fstab new or
 what ? Suggestions.
 
 Dr Andrew J Hill
 Department of Anaesthesia
 Royal Sussex County Hospital
 Brighton
 BN2 5BE
 01273 609060

add this (you have to be root):

/dev/hda1   /mnt/windowsautouser,noauto,rw

Make sure you load the vfat file system support into the kernel as well
(you have to be root for this as well).

modprobe -a vfat.o

you can also use insmod, but I always just used modprobe.  

To make it add support for vfat at bootup, cd to /etc/rc.d.  Then add
the modprobe -a vfat.o line to the end of the rc.local file.  

If you do a man on fstab, modprobe, and insmod, you will get a list of
options for the commands and an explanation of the fields for the files.

Remember to make backups of all system configuration files before you
mess with them.

Dan



Re: [newbie] HELP fstab

2000-02-09 Per discussione Colin Brough

 I guess Andrew is asking how to have the windows partition not owned
 by root and therefor mountable and writeable maybe by an ordinary user.
 
 We don't know what version of linux you are using. However, in RedHat5.2
 for instance you can achieve this by using the option "user" in /etc/fstab.
 In later linuces, this becomes "owner" instead, which works in RH6.1.
 A line like the second line here below will do it (a file called /etc/fstab2
 is simply ignored - for a recent linux, use owner instead of user):
 
 
 /dev/hda1/dosmsdos   defaults,rw,user0 0
 
 
 The directory and its contents are owned by the user who mounts it,
 and they can write to it provided it is mounted rw, the default.
 This is the mechanism used for users to mount floppy drives and cdroms
 and zips too. Beware though - it means *any* user can mount and maybe
 change or delete your windows partition.

You can be a bit less elegant, but safer, by specifying options more
closely. On my RedHat 5.2 box, I have the line:

/dev/hda1/msdos   vfatuid=500,gid=500,auto,rw,suid,dev,exec,async  0 0

for my Windows 95 partition. This means that it will be mounted with
user id 500 (thats me), and group id 500 (again, me), which gets round
*any* user mounting it and being able to write to it... I can't
remember the details of the other options - read the manual pages.

Cheers

Colin

--
Colin Brough   [EMAIL PROTECTED]



Re: [newbie] HELP fstab

2000-02-09 Per discussione Lenny Shovsky

does default (recommended) mdk 7 installation support ntfs mounts?

- Original Message -
From: "Colin Brough" [EMAIL PROTECTED]
To: "Catherine Wattebot" [EMAIL PROTECTED]; "David van Balen"
[EMAIL PROTECTED]
Cc: "'Newbie Linux'" [EMAIL PROTECTED]; "'Mailbase Linux Uk Help'"
[EMAIL PROTECTED]
Sent: Wednesday, February 09, 2000 4:03 PM
Subject: Re: [newbie] HELP fstab


  I guess Andrew is asking how to have the windows partition not owned
  by root and therefor mountable and writeable maybe by an ordinary user.
 
  We don't know what version of linux you are using. However, in RedHat5.2
  for instance you can achieve this by using the option "user" in
/etc/fstab.
  In later linuces, this becomes "owner" instead, which works in RH6.1.
  A line like the second line here below will do it (a file called
/etc/fstab2
  is simply ignored - for a recent linux, use owner instead of user):
 
  
  /dev/hda1/dosmsdos   defaults,rw,user
0 0
  
 
  The directory and its contents are owned by the user who mounts it,
  and they can write to it provided it is mounted rw, the default.
  This is the mechanism used for users to mount floppy drives and cdroms
  and zips too. Beware though - it means *any* user can mount and maybe
  change or delete your windows partition.

 You can be a bit less elegant, but safer, by specifying options more
 closely. On my RedHat 5.2 box, I have the line:

 /dev/hda1/msdos   vfatuid=500,gid=500,auto,rw,suid,dev,exec,async
0 0

 for my Windows 95 partition. This means that it will be mounted with
 user id 500 (thats me), and group id 500 (again, me), which gets round
 *any* user mounting it and being able to write to it... I can't
 remember the details of the other options - read the manual pages.

 Cheers

 Colin

 --
 Colin Brough   [EMAIL PROTECTED]




Re: [newbie] /etc/fstab

1999-03-15 Per discussione Bruce Newland

Is Steve Philp awesome or what?
It worked perfectly!

Problem #1: I compiled 2.2.3 and implemented it no problem, but I was
getting permission errors on /dev/hda3 (128 meg swap space - i verified code
83)
Solution was:  chmod 600 /dev/hda3

Problem #2: Invalid argument setting swapon /dev/hda3
Solution was: mkswap /dev/hda3 and thenswapon /dev/hda3 (even though
mkswap was set at installation, switching to 2.2.3 kernel must have altered
something?)

Many thanks to the Linux Community!

Bruce Newland
[EMAIL PROTECTED]

- Original Message -
From: Steve Philp [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, March 14, 1999 8:00 PM
Subject: Re: [newbie] /etc/fstab


 Bruce Newland wrote:
 
  Hi all,
 
  I am having a problem with my swap file and I believe it is the
/etc/fstab
  entry.
 
  Here is the line of fstab:
  /dev/hda3   swapswapdefaults0   0
 
  Here is what happens when I try to set swap to /dev/hda3:
  [root@pepper /]# swapon /dev/hda3
  swapon: warning: /dev/hda3 has insecure permissions 0660, 0600 suggested
  swapon: /dev/hda3: Invalid argument
  [root@pepper /]#
 
  I have hunted high and low for more docs on fstab, but to no avail.
  Any Ideas?


 Check the permissions on /dev/hda3.  They're probably "brw-rw".  Use
 this:

 chmod 600 /dev/hda3

 to change them.

 It's rather odd that you're getting a problem with this.  Checking my
 swap partition in /dev shows that the permissions are 660 also, but I
 haven't seen any errors.

 If changing the permissions doesn't work, check the partition type
 (fdisk -l /dev/hda) to ensure it's set to Linux swap.  Also, did you run
 'mkswap /dev/hda3' before attempting the 'swapon'?


 --
 Steve Philp
 [EMAIL PROTECTED]




Re: [newbie] /etc/fstab

1999-03-14 Per discussione Steve Philp

Bruce Newland wrote:
 
 Hi all,
 
 I am having a problem with my swap file and I believe it is the /etc/fstab
 entry.
 
 Here is the line of fstab:
 /dev/hda3   swapswapdefaults0   0
 
 Here is what happens when I try to set swap to /dev/hda3:
 [root@pepper /]# swapon /dev/hda3
 swapon: warning: /dev/hda3 has insecure permissions 0660, 0600 suggested
 swapon: /dev/hda3: Invalid argument
 [root@pepper /]#
 
 I have hunted high and low for more docs on fstab, but to no avail.
 Any Ideas?


Check the permissions on /dev/hda3.  They're probably "brw-rw".  Use
this:

chmod 600 /dev/hda3

to change them.

It's rather odd that you're getting a problem with this.  Checking my
swap partition in /dev shows that the permissions are 660 also, but I
haven't seen any errors.

If changing the permissions doesn't work, check the partition type
(fdisk -l /dev/hda) to ensure it's set to Linux swap.  Also, did you run
'mkswap /dev/hda3' before attempting the 'swapon'?


-- 
Steve Philp
[EMAIL PROTECTED]