LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-25-2006, 04:19 PM   #1
randy1970
LQ Newbie
 
Registered: Jul 2005
Posts: 16

Rep: Reputation: 0
Mount Command help


Hi there,

I have RHEL 4, I am trying to mount a partion with ACL enabled.

I have a partion /dev/hdb1 , I need to mount this to a folder name /volume with ext3, rw, acl.

what is the command to do this.

Do i have to modify the /etc/fstab ?



Help please
 
Old 04-25-2006, 04:30 PM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
Code:
$ man -P cat mount | grep -C 10 -i acl
       None.   Note  that  the  `ext'  file  system is obsolete. Don't use it.
       Since Linux version 2.1.21 extfs  is  no  longer  part  of  the  kernel
       source.


Mount options for ext2
       The  `ext2' file system is the standard Linux file system.  Since Linux
       2.5.46, for most  mount  options  the  default  is  determined  by  the
       filesystem superblock. Set them with tune2fs(8).

       acl / noacl
              Support POSIX Access Control Lists (or not).

       bsddf / minixdf
              Set  the  behaviour  for  the  statfs  system  call. The minixdf
              behaviour is to return in the f_blocks field the total number of
              blocks  of  the file system, while the bsddf behaviour (which is
              the default) is to subtract the overhead blocks used by the ext2
              file system and not available for file storage. Thus

       % mount /k -o minixdf; df /k; umount /k
Amazing how you can find things in the manual, huh? Anyways, I would guess "mount /dev/hdb1 -o acl", but I'm not sure.
 
Old 04-25-2006, 04:32 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
This is excerpted from the RHEL 3 sysadmin-guide:
Quote:
Alternatively, if the partition is listed in the /etc/fstab file, the entry for the partition can include the acl option:

LABEL=/work /work ext3 acl 1 2

If an ext3 file system is accessed via Samba and ACLs have been enabled for it, the ACLs are recognized because Samba has been compiled with the --with-acl-support option. No special flags are required when accessing or mounting a Samba share.
If you want to mount it manually:
mount -t ext3 <device-name> <partition> -o acl

These things are listed in your manual and the "man mount" manpage.
http://www.redhat.com/docs/manuals/e...e/ch-acls.html

Last edited by jschiwal; 04-25-2006 at 04:34 PM.
 
  


Reply



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
Mount Command vishalfirke Linux - Newbie 3 01-28-2005 09:34 AM
About mount command A-Liang Programming 1 11-18-2004 06:26 AM
command mount G_Slackw Linux - Software 6 06-21-2004 10:57 PM
Mount command emperor13 Linux - General 3 11-25-2001 01:06 PM
mount command loganwva Linux - Networking 3 09-19-2001 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:26 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
Open Source Consulting | Domain Registration