Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Moving /usr ... Is this possible? Post 302133029 by porter on Tuesday 21st of August 2007 01:53:16 PM
Old 08-21-2007
You have to be careful which directories are on which file system as during boot up the OS will only have access to the root file system until it starts mounting the others, which is a good reason why /bin and /usr/bin are different directories on some systems with /bin being a subset of /usr/bin.

If you get it wrong you then end up with a system that won't boot. Typically the ones you would put on different slices are /var, /opt, /export.

I would recommend trying it on a test system.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Better than asking about /usr/bin/cd...

Why does /usr/games/banner have a man page??? And why in the name of Ritchie is it in /usr/games?? Man, what a crappy game... (1 Reply)
Discussion started by: LivinFree
1 Replies

2. UNIX for Dummies Questions & Answers

what is usr/bin ???

Even as a newly born newbie, I know it sounds as if I'm asking how many shoes in a pair, but such is life. I'm trying to discover java programming with osx and have only previously done simple programming with basic. I have had shell experience with the amiga years ago so I get the idea of using a... (2 Replies)
Discussion started by: nykije
2 Replies

3. UNIX for Dummies Questions & Answers

Can't delete anything in /usr

I have Solaris 9 box that I am trying to clean up to use as an apache web server. In the process of attempting to remove an old copy of apache in /usr/local I have run into a problem. Logged in as root (or anything else) when trying to remove, chmod or chown anything in the /usr filesystem - the... (4 Replies)
Discussion started by: ms1951
4 Replies

4. Solaris

/usr hosed up

when I give the following commmand under cd /usr/platform/sun4u/sbin #file eeprom file: syntax error at line 1: `"\302^SÒ^D`^\^P\302ɢ^D`(^B\302^Y\302¥à\302"\302^^ê^D`^X^P\302â^D`' unexpected I had restored from tape. system is booting fine and showing no errors. Please help Thanks Jaya (1 Reply)
Discussion started by: vr76413
1 Replies

5. UNIX for Dummies Questions & Answers

usr loggings??????

How and where do I get the log of any user is logged in my system? (2 Replies)
Discussion started by: zing_foru
2 Replies

6. Solaris

How do I link ld in /usr/ucb/ to /usr/ccs/bin?

Hi all, below is the problem details: ora10g@CNORACLE1>which ld /usr/ucb/ld ora10g@CNORACLE1>cd /usr/ccs/bin ora10g@CNORACLE1>ln -s /usr/ucb/ld ld ln: cannot create ld: File exists ora10g@CNORACLE1> how to link it to /usr/ccs/bin? (6 Replies)
Discussion started by: SmartAntz
6 Replies

7. Solaris

How to link sed from /usr/bin/sed to /usr/local/bin/sed?

Hi Guys, OS:- Solaris 10 64Bit I have a small query. On one server a user is facing sed command issue. He gets error regarding sed for this location /users/hoy/2999/batch5/bin/internal.sh: /usr/local/bin/sed: not found How ever the sed is actually present at this location on server:-... (13 Replies)
Discussion started by: manalisharmabe
13 Replies

8. BSD

FreeBSD: /usr/bin/ld not looking in /usr/local/lib

I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries. I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble: $ ./autogen.sh checking... (2 Replies)
Discussion started by: AntumDeluge
2 Replies

9. OS X (Apple)

OSX: ./Users/myname OR. /usr/myname ? 1) what is the truth on UNIX ./usr/ directory.

OSX uses its own directory strecture on the BSD core, for example /Users/Bob_Alice/. but legacy Unix structure /usr/... remains. Adding confustion, some Unix books say /usr/ was never intended for specific users. and others show it being used for Bor or Alice. I am not sure where to put my third... (5 Replies)
Discussion started by: michaelayres
5 Replies
cmdk(7D)							      Devices								  cmdk(7D)

NAME
cmdk - common disk driver SYNOPSIS
cmdk@target, lun : [ partition | slice ] DESCRIPTION
The cmdk device driver is a common interface to various disk devices. The driver supports magnetic fixed disks and magnetic removable disks. The block-files access the disk using the system's normal buffering mechanism and are read and written without regard to physical disk records. There is also a "raw" interface that provides for direct transmission between the disk and the user's read or write buffer. A sin- gle read or write call usually results in one I/O operation; raw I/O is therefore considerably more efficient when many bytes are transmit- ted. The names of the block files are found in /dev/dsk; the names of the raw files are found in /dev/rdsk. I/O requests to the magnetic disk must have an offset and transfer length that is a multiple of 512 bytes or the driver returns an EINVAL error. Slice 0 is normally used for the root file system on a disk, slice 1 as a paging area (for example, swap), and slice 2 for backing up the entire fdisk partition for Solaris software. Other slices may be used for usr file systems or system reserved area. Fdisk partition 0 is to access the entire disk and is generally used by the fdisk(1M) program. FILES
/dev/dsk/cndn[s|p]n block device (IDE) /dev/rdsk/cndn[s|p]n raw device (IDE) where: cn controller n dn lun n (0-7) sn UNIX system slice n (0-15) pn fdisk partition(0) /kernel/drv/cmdk 32-bit kernel module. /kernel/drv/amd64/cmdk 64-bit kernel module. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |x86 | +-----------------------------+-----------------------------+ SEE ALSO
fdisk(1M), mount(1M), lseek(2), read(2), write(2), readdir(3C), scsi(4), vfstab(4), attributes(5), dkio(7I) SunOS 5.10 9 Oct 2004 cmdk(7D)
All times are GMT -4. The time now is 06:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy