disk-partitioning Questions

4

Solved

I'm scripting something in Bash for Linux systems. How would I check a disk for partitions in a robust manner? I could use grep, awk, or sed to parse the output from fdisk, sfdisk, etc., but this ...
Mcfall asked 11/11, 2014 at 19:51

5

Solved

When I run this on the command line it works fine: echo -e "n\np\n1\n\n\nw" | sudo fdisk /dev/sdb But in Ansible it does not want to run in shell: - name: partition new disk shell: echo -e "...
Carmacarmack asked 20/2, 2017 at 15:14

4

Solved

I have a server that is provisioned with several disks. One for an OS, one for programs etc., and the remaining are to be mounted to empty NTFS folders. Disk 0: C: Disk 1: G: Disk 2: G:\Folder01\ ...

1

I often work on Windows and Linux (on dual boot) and I'm using a ntfs partition to synchronize a data between systems which is something problematic (lots of docker containers have a problem ...
Incombustible asked 13/11, 2019 at 22:3

5

Solved

i created my EC2 Machine using Community Image of Centos 6.3 x64. i have added a 35 GB disk. Now when i do #df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda1 7.9G 1.2G 6.4G 16% / ...
Lyle asked 3/6, 2014 at 11:52

1

I'm writing a library to extract information about physical disks, partitions, and volumes on a Windows system (XP or later). I'm trying to get the capacity of a volume. Here are the approaches I ...
Usage asked 7/11, 2013 at 0:49

9

Default images have 10GB, but I need more (30GB approx). If I create a disk of 30GB using one of that default images, the usable space it's 10GB, not 30GB. I know I can install the distro usi...
Muncy asked 3/6, 2014 at 17:17

1

Solved

For now I use os.stat(path).st_dev to get the device id. But the id seems to be different for logical disks on same same physical drive. So it doesn't actually works for me. Is there a better or di...
Perfectly asked 20/6, 2013 at 9:52

4

Solved

Goal I'm porting a filesystem to Windows, and am writing a more Windows-like interface for the mounter executable. Part of this process is letting the user locate a partition and pick a drive lett...
Longfellow asked 28/10, 2010 at 11:1

1

Solved

I have a 200GB EBS volume and am trying to increase the space available. I followed the instructions on: http://www.hellersoftware.com/2012/resize-ebs-volume-attached-to-amazon-web-services-e...
Coffin asked 13/11, 2012 at 14:52

1

Solved

I have linux installed on SD card, I used this command to install the rootfs tar xpjf rootfs.tar.bz -C /mnt/rootfs/ Now, I made some changes to the rootfs and I would like to create a backu...
Mudcat asked 9/7, 2012 at 12:35

1

Solved

I need to create a small partition image (a few MB) with FAT32 filesystem. I came up some contradictory info on the Internet about the minimum size limit of a FAT32 partition. When I tried t...
Boni asked 7/12, 2011 at 9:12

3

Solved

Im working on an app to collect and send various bits of system info (partition space/free, laptop battery info, etc). Im not having much success getting this information in the form of direct c++ ...
Instal asked 10/1, 2011 at 20:8

3

Solved

I would like to create a multi-plattform utility to format / erase memory sticks, disks, etc. Is it possible to do this in Java? Or do I need to call native methods for each operational syst...
Afghan asked 21/11, 2010 at 18:2

0

I am detecting when our proprietary USB device is attached to a PC. When we detect this, we get the related Win32_PnPEntity. We want to use this Win32_PnPEntity as a source of the following informa...
Ragucci asked 2/8, 2010 at 13:37

1

Solved

Is there a Linux command to easily find out which partition/mount a directory or file is on? (This is probably a RTM question, and I feel guilty for asking it, but somehow, I can't find a g...
Odom asked 18/7, 2010 at 4:48

1

Solved

Is there any CMD command line that shows all partition letters. For example: C, D, E... Can that command also show all the partition's information? Free space, used space, total space?
Jesus asked 15/3, 2010 at 9:55

1

Solved

Accessing a raw disk partition in Windows Vista requires kernel mode control, as opposed to for instance WinXP where you can access it from user mode. However, I've heard that when it comes ...
Sade asked 22/10, 2008 at 9:0
1

© 2022 - 2024 — McMap. All rights reserved.