Comically, I tried
and watched all of the unmounted filesystems completely disappear
That is pretty funny
/dev/ is folder where device files are kept -- the files UNIX/Linux need to access, among other things, disks. You opened your new partition overtop of that, blocking them all. (Kind of like setting a blank sheet of paper atop a written one; the stuff beneath still exists, but you don't see it.) Things already open won't be affected, but you won't be able to open anything else. This has wider effects than disks. You probably lost the ability to create new terminals too, as well as sound, mice, even the bit-bucket, anything which is a character or block device.
You might have been able to recover from that with umount /dev but a reboot is good too.
I'm on SunOS 5.8.
I'm not sure of the exact terminology, but I want to make a "remote mount" from my server to another server. (Basically I want to create one of the mount points on my server be a shared volume that's on another server here). So if I do a df -k, I want to see all of the volumes... (1 Reply)
Hello Folks, had a basic question mount point and renaming it.
on AIX 5.3 box, I have a filesystem
Filesystem GB blocks Free %Used Mounted on
/dev/issclv01 1.00 0.50 50% /issc/doc
Now instead of /issc/doc, i want to rename it to /issc
is it as... (2 Replies)
Folks;
Please be patient with this issue when you read it. I know it's a little tricky.
I have a new share created on my SUSE 10 box. I'm trying to edit the /etc/fstab file or find a way to make this share needs no authentication.
The reason for that is we're using an outside application to... (3 Replies)
Dear all,
Currently I'm working on a C program (OS = ubuntu 9.0.4)in which a USB key will
be mounted and umounted for several times. I read the man page
of the mount system call.
I use the following test code
#include <sys/mount.h>
int main(int argc, char *argv)
{
if... (5 Replies)
hi ,
i'm creating a shell script using fstab for my project of last year, i wonder you can help me to know what is the command allow me to get the list of unmounted partitions.
thanks (4 Replies)
I have created a thumbdrive with a bootable version of Ubuntu 10.04 LTS, it uses Grub legacy.
One of the issues I have is that everytime I boot a new system from the thumbdrive, it writes entries for the partitions in the fstab. Consequently, when I boot another system, the OS reads the fstab... (2 Replies)
Can you please help me mount below filesystem in fstab ( I have rhel 5 )
as the line is long - it is not taking as single line
How can break this in 2 line and act as one ....please help
... (4 Replies)
I have a virtual machine with Redhat installed .
I am trying to link CD/DVD Drive 1 to /media/cdrom1 and CD/DVD Drive 0 to /media/cdrom0
I tried making these changed in /etc/fstab by adding the below line to it
/dev/sr0 /media/cdrom0 iso9660 user,noauto,exec,utf8 0 0... (2 Replies)
Hello, is there a way to mount a filesystem which is not defined in the etc/fstab ? Could someone share me any code or command (3 Replies)
Discussion started by: srilaxman
3 Replies
LEARN ABOUT OSF1
fd
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)