Sponsored Content
Special Forums UNIX Desktop Questions & Answers terminal codes for data partition Post 302375444 by pludi on Friday 27th of November 2009 07:05:40 PM
Old 11-27-2009
If my lack of caffeine doesn't misguide me:
Code:
sudo chown -R allen ~allen/data1

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

I've created a partition with GNU Parted, how do I mount the partition?

I've created a partition with GNU Parted, how do I mount the partition? The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards. Thanks, --Todd (1 Reply)
Discussion started by: jtp51
1 Replies

2. Solaris

[help] create partition for /data

hi experts, i had installed and do mirroring with sun solaris 8 v890 sparc, i had forget to make a partition for directory /data, i have 6 hard drive with disk0 mirror disk1(for root,var,opt,etc) ,disk2 mirror disk3(for /data2) and disk4 mirror disk5(for /data3), how to make a new partition for... (2 Replies)
Discussion started by: bucci
2 Replies

3. BSD

clean data from partition

Anyone know of an automated utility that will fill a designated partition with random data then delete the data? We have several harddrives that need certain partitions cleaned of sensitive data before they are placed back in service. Thanks Thumper (1 Reply)
Discussion started by: thumper
1 Replies

4. OS X (Apple)

How to access a NTFS partition on hard drive through Terminal in OSX ?

Hi , I have a Mac OS X Lion mac book pro. I have a hard drive which I have partitioned in two (a) OSX Partition - Mac OS Extended Journaled format. Mount point: / (b) Data Partition - Windows NT Filesystem format. Mount point: /Volumes/Data I need to access the NTFS partition (I have a... (6 Replies)
Discussion started by: neil.k
6 Replies

5. Solaris

Partition overlaps another partition while creating new parition in solaris

hi all while formatting hard disk i am getting following error. Partition 1 ends at 266338338 It must be between 34 and 143374704. label error: EFI Labels do not support overlapping partitions Partition 8 overlaps partition 1. Warning: error writing EFI. Label failed. I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies

6. Red Hat

Can I change the partition type with fdisk without disrupting data?

Hello, I have been going through our environment and I see we have a few servers with LVM's setup and the file system type is still set to "83" within fdisk. If I change this to "8e", will it hurt the data or cause any loss? I need to know for sure before I make the change. (1 Reply)
Discussion started by: s ladd
1 Replies

7. Red Hat

Shrink LVM partition & create new Linux Primary partition

Hello All, I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows, /boot - Linux Partition & another is LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc). Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies

8. Shell Programming and Scripting

Filter Data based on codes

Hello, I have a question on how to filter the data on multiple columns. The problem is I have one table with 25 columns, 4500 rows. I need to filter out the data based on some codes like 'XXXX', I have 25 codes to check on that table. My requirement is that which ever row has this code I... (1 Reply)
Discussion started by: sandeep309
1 Replies

9. Shell Programming and Scripting

Fun with terminal plotting JSON data at the command line

One of the great thing about unix is the ability to pipe multiple programs together to manipulate data. Plain, unstructured text is the most common type of data that is passed between programs, but these days JSON is becoming more popular. I thought it would be fun to pipe together some command... (1 Reply)
Discussion started by: kbrazil
1 Replies
explain_chown_or_die(3) 				     Library Functions Manual					   explain_chown_or_die(3)

NAME
explain_chown_or_die - change ownership of a file and report errors SYNOPSIS
#include <libexplain/chown.h> void explain_chown_or_die(const char *pathname, int owner, int group); DESCRIPTION
The explain_chown_or_die function is used to call the chown(2) system call. On failure an explanation will be printed to stderr, obtained from explain_chown(3), and then the process terminates by calling exit(EXIT_FAILURE). This function is intended to be used in a fashion similar to the following example: explain_chown_or_die(pathname, owner, group); pathname The pathname, exactly as to be passed to the chown(2) system call. owner The owner, exactly as to be passed to the chown(2) system call. group The group, exactly as to be passed to the chown(2) system call. Returns: This function only returns on success. On failure, prints an explanation and exits. SEE ALSO
chown(2) change ownership of a file explain_chown(3) explain chown(2) errors exit(2) terminate the calling process COPYRIGHT
libexplain version 0.52 Copyright (C) 2008 Peter Miller explain_chown_or_die(3)
All times are GMT -4. The time now is 12:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy