Sponsored Content
Operating Systems Linux Ubuntu Ubuntu very slow after repartitioning Post 303025636 by bakunin on Thursday 8th of November 2018 06:17:16 AM
Old 11-08-2018
Quote:
Originally Posted by Marcov
i don't know if this is the right section, so forgive me if it's wrong.
This is no problem. We will move threads to the right forum if they are incorrectly placed.

Moderator's Comments:
Mod Comment As it seems now this deals with a Ubuntu-specific problem so i move the thread in the Ubuntu-forum.


bakunin
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

repartitioning

Hi. I am working on a Sunblade with Solaris 8 installed. 2 hard disks, not mirrored or striped. The person who set it up originally had not given /usr it's own partition. The second disk is one large partition with a directory mounted on it. We are running Apache on this machine to work with... (4 Replies)
Discussion started by: cmh
4 Replies

2. Filesystems, Disks and Memory

Repartitioning scsi drive in Nextstep

Need to change the partitions on a SCSI drive with Nextstep. df shows filesystem kbytes used avail cap mounted on /dev/sd0a 2051824 231924 13% / /dev/sd0b 998332 9 0% /Vol2 /dev/sd0c 998332 9 0% /Vol3 /dev/sd0d 998332 9 0% /Vol4 /dev/sd0e 998332 9 0% /Vol5... (3 Replies)
Discussion started by: Mace
3 Replies

3. Solaris

Repartitioning hard drive on Solaris10

Hello, Is it possible to repartition hard drive on Solaris10 without deleting all the content of the drive? I have a workstation with 40G drive that has two partitions 4G and 36G. The big partition is allocated for /export/home and small for everything else (don't ask me why, I did not set it up... (1 Reply)
Discussion started by: pn8830
1 Replies

4. UNIX for Advanced & Expert Users

Resizing and repartitioning NTFS with gParted?

Sorry that this is slightly OT, but in my defence, I intend to install Linux (and probably others). I just bought a new computer with Windows Vista preinstalled; and though there is no love between me and MS, I would like to keep it (I paid for it after all). I have 2 x 500GB HDD. The extra... (1 Reply)
Discussion started by: koppe
1 Replies

5. Solaris

formating and repartitioning an external hard drives

Version: solaris 10 x86 I just got a western digital external harddrive formated with fat 32. this drive came with some setup files which is meant for windows or mac. I want to reformat and partition this drive into two ( for solaris and windows) such that the setup files will still be there... (2 Replies)
Discussion started by: seyiisq
2 Replies

6. Solaris

Metaset repartitioning

Dear all, This metaset stuff drive me crazy. The story begin with the Solaris 8 upgrade.... We have a pair of Solaris 8 with Sun Cluster 3.1, to prevent a long downtime, the Live Upgrade was chosen. As metadb cannot use LU to upgrade directly, we remove the diskset before upgrade, and put it... (0 Replies)
Discussion started by: donaldfoo
0 Replies

7. UNIX for Dummies Questions & Answers

Ubuntu seems running slow!

Hello, My PC seems running slow: OS32 system, Pentium(R)4---2.40Ghz, 1GB RAM, 80GB HDI am running Ubuntu 11.10 (Oneiric Ocelot) alone in this box, which seems very slow to me. Is this normal? Compared with my other PC (Running XP) with 1.99GHz AMD Athlon 3200+, 2GB RAM,500GB HD, XP and Mint... (11 Replies)
Discussion started by: yifangt
11 Replies
SHELL-QUOTE(1p) 					User Contributed Perl Documentation					   SHELL-QUOTE(1p)

NAME
shell-quote - quote arguments for safe use, unmodified in a shell command SYNOPSIS
shell-quote [switch]... arg... DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands or files with embedded white space or shell globbing characters safely. Here are a few examples. EXAMPLES
ssh preserving args When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and passes them to "$SHELL -c". This doesn't work as intended: ssh host touch 'hi there' # fails It creates 2 files, hi and there. Instead, do this: cmd=`shell-quote touch 'hi there'` ssh host "$cmd" This gives you just 1 file, hi there. process find output It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote: eval set -- `find -type f -print0 | xargs -0 shell-quote --` debug shell scripts shell-quote is better than echo for debugging shell scripts. debug() { [ -z "$debug" ] || shell-quote "debug:" "$@" } With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can. save a command for later shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are things the user can't pass through), you can do something like this: user_switches= while [ $# != 0 ] do case x$1 in x--pass-through) [ $# -gt 1 ] || die "need an argument for $1" user_switches="$user_switches "`shell-quote -- "$2"` shift;; # process other switches esac shift done # later eval "shell-quote some-command $user_switches my args" OPTIONS
--debug Turn debugging on. --help Show the usage message and die. --version Show the version number and exit. AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions. AUTHOR
Roderick Schertler <roderick@argon.org> perl v5.8.4 2005-05-03 SHELL-QUOTE(1p)
All times are GMT -4. The time now is 10:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy