02-28-2008
Thank you,
but :
# fuser -a /mnt/directory
/mnt/directory: Input/output error
And :
# fuser -k /mnt/directory
/mnt/directory: Input/output error
????
10 More Discussions You Might Find Interesting
1. Solaris
how can i mount windows file system into solaris using vfstab or mount command. also please tell me how to display the partition information. (1 Reply)
Discussion started by: ajoy patel
1 Replies
2. Linux
Did anybody can teach me how to set the premission in the samba server? How to i set the premission in one folder but two access right. With one folder but the user access rights is diffirent. One user can full access the folder, and another one user only read only.
thx for helping... (1 Reply)
Discussion started by: cloudlor
1 Replies
3. Filesystems, Disks and Memory
I found a more appropriate section to post my question. Thanks! (0 Replies)
Discussion started by: cneill
0 Replies
4. AIX
Hello,
Can someone please point to an easy document or steps how to export AIX file system /whatever to Windows O/S
Basically Windows should see this filesystem / directory and should be able to write in this filesystem / directory
Thanks (2 Replies)
Discussion started by: filosophizer
2 Replies
5. UNIX for Advanced & Expert Users
Hi,
I have a 1TB external iomega hard disk, and I want to plug it to a solaris 8 machine. The problem is that solaris doesn't recognize the NTFS file system partition.
I was thinking of formatting it to FAT32, but I would like to know if anyone knows a better file system, considering:
- I... (6 Replies)
Discussion started by: Dann-E
6 Replies
6. UNIX for Dummies Questions & Answers
Hi,
as title says
what happens if i unmount local file system when is mounted to a diffrent server ? (2 Replies)
Discussion started by: galuzan
2 Replies
7. Shell Programming and Scripting
Hi all,
I am creating a .sh file in windows environment using notepad.
i need a code which i can write in this .sh file so that it asks me for an input file stored anywhere in my C drive of my windows computer.
Please help me out with this. (1 Reply)
Discussion started by: bansalpankaj88
1 Replies
8. HP-UX
Hello,
We just got a rx4640 that is running on:
HP-UX B.11.31 U ia64 2426088954 unlimited-user license
There is a plenty of space in it and we would like to use it for storage. I can access with ftp and place the files in there but i need to mount the file system in every PC that is running... (7 Replies)
Discussion started by: gjk
7 Replies
9. AIX
Hello,
I have a script on my NIM Master that runs with crons and performs mksysb backups of all NIM Clients once a week.
There is a problem with one of the clients as it stucks and never finishes the mksysb backups.
I tried to unmount the NFS file system created by the NIM in order to perform... (5 Replies)
Discussion started by: omonoiatis9
5 Replies
10. UNIX for Dummies Questions & Answers
Hi all,
I have some problem with the ext2 file system format.
In particolar, I have a unix based system full backup, which is a .iso file. In order to create a bootable usb, i have to format the USB with ext2 FS, and then I have to mount that image on it.
The problem is that, I need to it... (3 Replies)
Discussion started by: Mr. Piros
3 Replies
LEARN ABOUT MOJAVE
pivot_root
PIVOT_ROOT(8) System Administration PIVOT_ROOT(8)
NAME
pivot_root - change the root filesystem
SYNOPSIS
pivot_root new_root put_old
DESCRIPTION
pivot_root moves the root file system of the current process to the directory put_old and makes new_root the new root file system. Since
pivot_root(8) simply calls pivot_root(2), we refer to the man page of the latter for further details.
Note that, depending on the implementation of pivot_root, root and cwd of the caller may or may not change. The following is a sequence for
invoking pivot_root that works in either case, assuming that pivot_root and chroot are in the current PATH:
cd new_root
pivot_root . put_old
exec chroot . command
Note that chroot must be available under the old root and under the new root, because pivot_root may or may not have implicitly changed the
root directory of the shell.
Note that exec chroot changes the running executable, which is necessary if the old root directory should be unmounted afterwards. Also
note that standard input, output, and error may still point to a device on the old root file system, keeping it busy. They can easily be
changed when invoking chroot (see below; note the absence of leading slashes to make it work whether pivot_root has changed the shell's
root or not).
OPTIONS
-V, --version
Display version information and exit.
-h, --help
Display help text and exit.
EXAMPLES
Change the root file system to /dev/hda1 from an interactive shell:
mount /dev/hda1 /new-root
cd /new-root
pivot_root . old-root
exec chroot . sh <dev/console >dev/console 2>&1
umount /old-root
Mount the new root file system over NFS from 10.0.0.1:/my_root and run init:
ifconfig lo 127.0.0.1 up # for portmap
# configure Ethernet or such
portmap # for lockd (implicitly started by mount)
mount -o ro 10.0.0.1:/my_root /mnt
killall portmap # portmap keeps old root busy
cd /mnt
pivot_root . old_root
exec chroot . sh -c 'umount /old_root; exec /sbin/init'
<dev/console >dev/console 2>&1
SEE ALSO
chroot(1), pivot_root(2), mount(8), switch_root(8), umount(8)
AVAILABILITY
The pivot_root command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/.
util-linux August 2011 PIVOT_ROOT(8)