06-19-2009
Mounting fs ext3
I'm trying to find a correct command that will mount a filesystem ext3 the device /dev/sda1 to mount point /mnt/usb but not allow any programs to run from it.
I want to be honest as I've read the forum rules... This is a homework question BUT, i'm generally interested in the correct process and haven't been able to. Just trying to pass a wall that I am at. I completely understand if no one wishes to reply. Thanks!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I reinstalled my Linux box with RedHat 7.2 and used the ext3 journaling file system. This thing is a pig now. There isn't much running on the box, and performance is sad. (1 Reply)
Discussion started by: 98_1LE
1 Replies
2. Filesystems, Disks and Memory
what do you think about the ext3 journal filesystem?? (3 Replies)
Discussion started by: comadreja
3 Replies
3. UNIX for Dummies Questions & Answers
I'm trying to delete my red hat partitions so I can restructure my computer's hard drive. I want to delete the Boot, /, and Swapspace partitions so I can rearrange my drive and install some other systems. In partition magic when I attempt to delete the Ext3 partitions, it reads as not being able to... (4 Replies)
Discussion started by: djtrippin
4 Replies
4. Filesystems, Disks and Memory
As i'm sure you all know, ext2 (and then ext3) is the most widely used linux fs... but some distros (SUSE & Debian) are now chosing to either use by default, or at least give the option of using ReiserFS.
What is it about ReiserFS that's so great exactly? I understand that it has a limitless... (6 Replies)
Discussion started by: fishsponge
6 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I was installing linux, so i want to know the basic difference between /ext2 and /ext3 filetype..
what is the significance of using /ext2 and /ext3
pls clarify
Thanks
Vasikaran (2 Replies)
Discussion started by: vasikaran
2 Replies
6. Solaris
Is it possible to mount linux file systems in sun solaris ? and if its possible what -f name i should use ? (3 Replies)
Discussion started by: XP_2600
3 Replies
7. BSD
I'm having problem mounting ext3 & ntfs partitions on my PC-BSD OS.
Can anyone please help me out here.
What are the changes required to be done in fstab??
Are there any patches to be installed?? (1 Reply)
Discussion started by: void_man()
1 Replies
8. SuSE
Hi all
IM very curious about one thing
Im currently playing with a test server SLES x64 SP2, and I got to a serious issue which is really sorry for the word pissing me off. :mad:
I created an pv, then vg and finaly some lv's which is fine.
I mounted then and everything worked fine... (0 Replies)
Discussion started by: kl1ngac1k
0 Replies
9. Red Hat
Is there any way to conver ext4 to ext3 filesystem without formatting the partition/disk ..
Had ext3 filesystem and had converted it to ext4 by issuing following command
# tune2fs -O extents,uninit_bg,dir_index /dev/sda1
# fsck -pf /dev/sda1
# blkid /dev/sda1
/dev/sda1:... (1 Reply)
Discussion started by: Shirishlnx
1 Replies
10. UNIX for Dummies Questions & Answers
Hi i am looking for some help with a question relating to the creation of the ext3 file system.
"Why is it good practice not to have a file system mounted whilst you try to create it?"
I have searched google but not had any luck in finding out what the actual dangers are of creating a file... (1 Reply)
Discussion started by: allan1986
1 Replies
fd(4) Kernel Interfaces Manual fd(4)
NAME
fd - file descriptor files
DESCRIPTION
The /dev/fd file system is a pseudo-file system layered beneath the Virtual File System (VFS). The file descriptor files (fd*) are those
files that are accessible through file descriptors. The file descriptors use the naming convention /dev/fd/0, /dev/fd/1, /dev/fd/2 and so
on up to any number.
To make the /dev/fd file system known to the operating system, you must create the directory with the correct privileges, then you must
mount the file system. The following steps describe how to create the directory, mount the file system both manually and automatically,
and how to dismount the file system: Create the directory using the mkdir and chmod commands: mkdir /dev/fd; chmod 777 /dev/fd Mount the
file system manually using the mount command: mount -t fdfs /dev/fd /dev/fd Mount the file system automatically by editing either the
/etc/fstab file or the /sbin/bcheckrc file.
Add the following entry to the /etc/fstab file: /dev/fd /dev/fd fdfs rw 0 0 This entry mounts the pseudodevice /dev/fd on the
/dev/fd directory with read/write privileges. The file system type is fdfs and the zeros (0) in the remaining fields specify that
the file system is not to be backed up nor can file system checks be performed by the fsck command as this is a virtual file system.
Add the following entry to the /sbin/bcheckrc file: # # mount fdfs # echo 'Mounting /dev/fd filesystem' /sbin/mount -a -v -t fdfs
Again, the /dev/fd file system should not be mounted in this manner if an entire system is to be backed up starting from the root
directory. Dismount the file system using the umount command: umount /dev/fd For correct truncate() behavior on fd files, you must
load your program using the -lsys5 flag.
RESTRICTIONS
The /dev/fd file descriptors should not be exported.
EXAMPLES
The following example show how the open and dup functions have the same effect if file descriptor n is opened:
fd = open("/dev/fd/n", mode);
fd = dup(n);
In the above example, the open function is equal to the creat function and mode is ignored. Using the dup function, subsequent reads or
writes on the fd file descriptor files fail unless the original file descriptor enables the operation.
ERRORS
The following error condition exists: The file descriptor is not valid.
RELATED INFORMATION
Commands: chmod(1), mkdir(1), mount(8).
Functions: creat(2), dup(2), open(2). delim off
fd(4)