04-07-2006
Is the /data directory in the / directory or is it a separate mount point?
If you have the boot and root floppies you can boot with them and mount the / filesystem and then delete your files.
The mount command you use should be:
mount /dev/hd0root /mnt
change directories to the /mnt and you should be able to delete what you need to.
HiH
10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
until recently I've been using the following command successfully:
mount -t smbfs -o username=my_user_name,password=password /home/temp/ //oldserver/openexchange
To connect to a Win2000 shared folder called openexchange on a machine called //oldserver.
But as from today, I've been getting... (2 Replies)
Discussion started by: cw1972
2 Replies
2. Solaris
$ df -hl
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 9.8G 5.0G 4.7G 52% /
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K ... (2 Replies)
Discussion started by: adel8483
2 Replies
3. Slackware
hi
I installed slackware.
How can I mount new partition
I edit etc/fstab and add new mount point("back")
What should I do next?
When I perfom:
mount /back
it doesnt work. (16 Replies)
Discussion started by: tjay83
16 Replies
4. Shell Programming and Scripting
I'm new in Unix shell scripting and i need someone to help me to make Script that run all time watching my directory that files uploaded to it via FTP (/mydir/incoming_files), if any files exists in it then (if many files exists, then sort files and load them ascending) it‘ll checks the size of the... (1 Reply)
Discussion started by: m_fighter
1 Replies
5. SuSE
Our home directory is not mounting in SUSE 10, can you please help me in this regard.
Thanks (1 Reply)
Discussion started by: durgaprasadr13
1 Replies
6. Shell Programming and Scripting
Hi guys
I have a need to compress the contents of a directory while I am copying data into it. I was able to do this when it was only one file by doing as below:
STEP1: mknod myfile p
STEP2: chmod 777 myfile
STEP3: compress -v < myfile > myfile.Z &
STEP4: cp -p xyz_file myfile... (2 Replies)
Discussion started by: user1602
2 Replies
7. UNIX for Advanced & Expert Users
I have a directory that need to backup, its size is about 150GB consist of multiple files and directories. I try to compress it become a single archive file using these commands:
tar cjf this_archive.tar.bz2 this_archive/
or
tar cf - this_archive/ | 7z a -si -t7z -m0=lzma -mx=9 -mfb=64... (3 Replies)
Discussion started by: erlanq
3 Replies
8. UNIX for Advanced & Expert Users
Hi,
I would like to know how can we mount a directory using nfs v4 ?
When I use the below command, I am not sure what nfs version am using to mount the directory.
mount -t <server_name>:<shared_directory> <shared_directory>.
eg:
mount -t 10.50.0.8:/home/arun/mount/share_dir... (7 Replies)
Discussion started by: arunsriniv
7 Replies
9. AIX
Hi All,
Recently I came to know my / root file system is getting full because of application directory /siebel/
I have one option.
1) Down the application , take full backup
2)change the filesystem ownership
2)copy the contents into that filesystem
cp -pr /siebel/* /siebelfs/*
3)Inform... (9 Replies)
Discussion started by: Thala
9 Replies
10. Solaris
I wonder if it is possible to delay mounting of a home directory?
Here is the background to the problem I am trying to solve:
I have two zfs disks, one rpool disk, and one zfs data disk. On the zfs data disk, I have data directories. In Solaris 11.3 there are default home directories on... (6 Replies)
Discussion started by: kebabbert
6 Replies
LEARN ABOUT DEBIAN
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).
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), mount(8), pivot_root(2), umount(8)
AVAILABILITY
The pivot_root command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux February 2000 PIVOT_ROOT(8)