Sponsored Content
Top Forums UNIX for Advanced & Expert Users Protecting access to partition Post 302337175 by Legend986 on Thursday 23rd of July 2009 02:07:59 PM
Old 07-23-2009
Thank You... I'm sorry if its a silly question but what is the difference between owning and reserving a partition?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

understanding logical partition, physical partition

hi, 1) is logical partition the same as physical partition except that one is physical and the other is logical? 2) then it must a one to one ratio? (3 Replies)
Discussion started by: yls177
3 Replies

2. UNIX for Dummies Questions & Answers

Access FreeBSD (BSD) partition from Windows NT/2000/XP

Hello, I have already installed FreeBSD into my hard disk. In one partition I have Windows 2000, and on another FreeBSD. I can access Windows partition from FreeBSD, but is there any way to access FreeBSD partition from Windows? I know how to access Linux (ext/ext2) partition from Win, there is... (9 Replies)
Discussion started by: Aoidas
9 Replies

3. 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

4. Solaris

How to access a solaris partition

Hi, I have the present scenario on a x86 machine. fdisk c0d0p0 Cylinders Partition Status Type Start End Length % 1 Active Solaris2 1 2500 2500 61 2 ... (14 Replies)
Discussion started by: vibhor_agarwali
14 Replies

5. Linux

Error 24: Attempt to access block outside partition

Grub throwing Error:: Error 24: Attempt to access block outside partition. done the following root (hd0,0) After that when trying to load kernel it is throwing the error. Please guide. new to grub. Thx, Siva. (0 Replies)
Discussion started by: Sivaswami
0 Replies

6. UNIX for Dummies Questions & Answers

Protecting a folder/directory against root access.

A friend and I run a vbulletin forum which recently got hacked. We believe what wound up happening was the attacker gained access to the VPS box and from there elevated their user accounts to admin status on our forums. Obviously if someone gets into our box in the future it'll be a disaster so... (1 Reply)
Discussion started by: fannypack
1 Replies

7. 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

8. 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

9. 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

10. Red Hat

Is it possible access software installed on one partition from another

Hello Team my scenario is like i have 2 partitions on server. /apps and /home and i am trying to install my software in /apps partition.intstallation is successful but when i am trying to open something in that its showing blank screen. now if i install that software in /home it works... (2 Replies)
Discussion started by: lalgourav1983
2 Replies
struct::disjointset(n)						Tcl Data Structures					    struct::disjointset(n)

__________________________________________________________________________________________________________________________________________________

NAME
struct::disjointset - Disjoint set data structure SYNOPSIS
package require Tcl 8.4 package require struct::disjointset ?1.0? ::struct::disjointset disjointsetName disjointsetName option ?arg arg ...? disjointsetName add-partition elements disjointsetName partitions disjointsetName num-partitions disjointsetName equal a b disjointsetName merge a b disjointsetName find e disjointsetName destroy _________________________________________________________________ DESCRIPTION
This package provides disjoint sets. An alternative name for this kind of structure is merge-find. Normally when dealing with sets and their elements the question is "Is this element E contained in this set S?", with both E and S known. Here the question is "Which of several sets contains the element E?". I.e. while the element is known, the set is not, and we wish to find it quickly. It is not quite the inverse of the original question, but close. Another operation which is often wanted is that of quickly merging two sets into one, with the result still fast for finding elements. Hence the alternative term merge-find for this. Why now is this named a disjoint-set ? Because another way of describing the whole situation is that we have o a finite set S, containing o a number of elements E, split into o a set of partitions P. The latter term applies, because the intersection of each pair P, P' of partitions is empty, with the union of all partitions covering the whole set. o An alternative name for the partitions would be equvalence classes, and all elements in the same class are considered as equal. Here is a pictorial representation of the concepts listed above: +-----------------+ The outer lines are the boundaries of the set S. | / | The inner regions delineated by the skewed lines | * / * | are the partitions P. The *'s denote the elements | * / | E in the set, each in a single partition, their |* / | equivalence class. | / * | | / * / | | * / * / | | / / | | / / * | | / * | | / * | +-----------------+ For more information see http://en.wikipedia.org/wiki/Disjoint_set_data_structure. API
The package exports a single command, ::struct::disjointset. All functionality provided here can be reached through a subcommand of this command. ::struct::disjointset disjointsetName Creates a new disjoint set object with an associated global Tcl command whose name is disjointsetName. This command may be used to invoke various operations on the disjointset. It has the following general form: disjointsetName option ?arg arg ...? The option and the args determine the exact behavior of the command. The following commands are possible for disjointset objects: disjointsetName add-partition elements Creates a new partition in specified disjoint set, and fills it with the values found in the set of elements. The command maintains the integrity of the disjoint set, i.e. it verifies that none of the elements are already part of the disjoint set and throws an error otherwise. The result of the command is the empty string. disjointsetName partitions Returns the set of partitions the named disjoint set currently consists of. disjointsetName num-partitions Returns the number of partitions the named disjoint set currently consists of. disjointsetName equal a b Determines if the two elements a and b of the disjoint set belong to the same partition. The result of the method is a boolean value, True if the two elements are contained in the same partition, and False otherwise. An error will be thrown if either a or b are not elements of the disjoint set. disjointsetName merge a b Determines the partitions the elements a and b are contained in and merges them into a single partition. If the two elements were already contained in the same partition nothing will change. The result of the method is the empty string. disjointsetName find e Returns the partition of the disjoint set which contains the element e. disjointsetName destroy Destroys the disjoint set object and all associated memory. BUGS, IDEAS, FEEDBACK This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category struct :: disjointset of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either package and/or documentation. KEYWORDS
disjoint set, equivalence class, find, merge find, partition, partitioned set, union CATEGORY
Data structures struct 1.0 struct::disjointset(n)
All times are GMT -4. The time now is 12:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy